Giter Site home page Giter Site logo

gitalot / hawkey Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rpm-software-management/hawkey

0.0 1.0 0.0 2.99 MB

This is hawkey, library providing simplified C and Python API to libsolv. Hawkey project is obsoleted.

License: GNU Lesser General Public License v2.1

CMake 1.36% C 83.44% C++ 2.48% Python 12.63% Shell 0.08%

hawkey's Introduction

Hawkey project has been merged inside libhif project. Development of Hawkey project as alone no longer continues. Use libhif, please.

Hawkey

This is hawkey, library providing simplified C and Python API to libsolv.

Building for Fedora

Packages needed for the build, or the build requires:

  • check-devel
  • cmake
  • expat-devel
  • gcc
  • libsolv-devel
  • libsolv-tools
  • python-devel (or python3-devel for Python 3 build)
  • python-nose (or python3-nose for Python 3 build)
  • rpm-devel
  • zlib-devel

From the checkout dir:

mkdir build
cd build/
cmake .. # add '-DPYTHON_DESIRED="3"' option for Python 3 build
make

Building the documentation, from the build/ directory:

make doc

Building from a libsolv checkout

Libsolv is checked out at /home/<user>/libsolv, build dir is at /home/<user>/libsolv/build:

mkdir build
cd build/
cmake -D LIBSOLV_PATH="/home/<user>/libsolv/" ..
make

Tests

All unit tests should pass after the build finishes, from the hawkey checkout:

cd build/tests
make tests

There are two parts of unit tests: unit tests in C and unit tests in Python. To run the C part of the tests manually, from hawkey checkout:

build/tests/test_main tests/repos/

Manually executing the Python tests:

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

The PYTHONPATH is unfortunately needed as the Python test suite needs to know where to import the built hawkey modules.

Documentation

See the hawkey documentation page.

Information internal to the hawkey development is maintained on a github wiki.

hawkey's People

Contributors

akozumpl avatar cgwalters avatar conan-kudo avatar hughsie avatar ignatenkobrain avatar j-mracek avatar jsilhan avatar mbarnes avatar megaumi avatar michaelmraka avatar mizdebsk avatar mlschroe avatar mtoman avatar pmatilai avatar radekholy24 avatar scop avatar scottt avatar tojaj avatar xake avatar yavor-atanasov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.