package managing framework
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).
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.
pshowkw: display package keywords
At least python version 3.6, and snakeoil — a utility library with misc optimizations split out of pkgcore for others to use.
Installing latest pypi release in a virtualenv:
pip install pkgcore
Installing from git in a virtualenv:
git clone https://github.com/pkgcore/pkgcore.git ./pkgcore/requirements/pip.sh ./pkgcore
Installing from a tarball or git repo:
python setup.py install
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 py36
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pkgcore-0.10.12-py3-none-any.whl (617.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pkgcore-0.10.12.tar.gz (646.9 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pkgcore-0.10.12-py3-none-any.whl