librepo - A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages
- check (http://check.sourceforge.net/) - in Fedora: check-devel
- expat (http://expat.sourceforge.net/) - in Fedora: expat-devel
- gcc (http://gcc.gnu.org/)
- gpgme (http://www.gnupg.org/) - in Fedora: gpgme-devel
- libcurl (http://curl.haxx.se/libcurl/) - in Fedora: libcurl-devel
- openssl (http://www.openssl.org/) - in Fedora: openssl-devel
- python (http://python.org/) - in Fedora: python2-devel
- Test requires: pygpgme (https://pypi.python.org/pypi/pygpgme/0.1) - in Fedora: pygpgme
- Test requires: python-flask (http://flask.pocoo.org/) - in Fedora: python-flask
- Test requires: python-nose (https://nose.readthedocs.org/) - in Fedora: python-nose
mkdir build
cd build/
cmake ..
make
mkdir build
cd build/
cmake -DCMAKE_BUILD_TYPE="DEBUG" ..
make
cd build/
make doc
- C documentation:
build/doc/c/html/index.html
- Python documentation:
build/doc/python/index.html
http://tojaj.github.com/librepo/
All unit tests run from librepo checkout dir
make test
build/tests/test_main tests/test_data/
PYTHONPATH=`readlink -f ./build/librepo/python/` nosetests -s tests/python/tests/