Skip to content

akozumpl/librepo

 
 

Repository files navigation

librepo

librepo - A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages

Building

Build requires:

Build from your checkout dir:

mkdir build
cd build/
cmake ..
make

Build with debug messages:

mkdir build
cd build/
cmake -DCMAKE_BUILD_TYPE="DEBUG" ..
make

Documentation

Build:

cd build/
make doc
  • C documentation: build/doc/c/html/index.html
  • Python documentation: build/doc/python/index.html

Online python bindings documentation:

http://tojaj.github.com/librepo/

Testing

All unit tests run from librepo checkout dir

Run both (C & Python) tests via makefile:

make test

Run (from your checkout dir) - C unittests:

build/tests/test_main tests/test_data/

Run (from your checkout dir) - Python unittests:

PYTHONPATH=`readlink -f ./build/librepo/python/` nosetests -s tests/python/tests/

About

A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.6%
  • Python 27.4%
  • Other 1.0%