package managing framework
Project description
pkgcore
pkgcore is a framework for package management; via the appropriate class plugins, the design should allow for any underlying repository/config/format to be used; slackware’s tgzs being exempted due to lack of any real metadata, and autopackage format being exempted due to the fact they effectively embed the manager in each package (pkgcore does require being able to treat the pkg as data, instead of autopackage’s method of handing resolution/all manager ops off to the package script).
Tools
pclean: clean distfiles, binpkgs, and builds dirs
pclonecache: clone a repository cache
pconfig: query configuration info
pebuild: low-level ebuild operations, go through phases manually
pinspect: inspect repository related info
pmaint: repository maintenance (syncing, copying…)
pmerge: dependency resolution, fetching, (un)merging, etc.
pquery: query repository info, revdeps, pkg search, vdb search, etc.
Requirements
At least python version 3.8, and snakeoil — a utility library split out of pkgcore for others to use.
Installing
Installing latest pypi release:
pip install pkgcore
Installing from git:
pip install https://github.com/pkgcore/pkgcore/archive/master.tar.gz
Installing from a tarball:
python setup.py install
Tests
A standalone test runner is integrated in setup.py; to run, just execute:
python setup.py test
In addition, a tox config is provided so the testsuite can be run in a virtualenv setup against all supported python versions. To run tests for all environments just execute tox in the root directory of a repo or unpacked tarball. Otherwise, for a specific python version execute something similar to the following:
tox -e py39
Docs
Documentation is available on Github.
Contact
For bugs and feature requests please create an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pkgcore-0.12.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250e87335fa7301db66a3809cdf26614ec20fddc3c3f5d4718e59c6508bc3cb8 |
|
MD5 | 0e0b78e9c72031e3e81901b36fe5cb45 |
|
BLAKE2b-256 | a2e17cf9dcee77bfe99a6df4acce4fe90200d264ed6be07f7e59e54e688c5d1a |