- Notifications
You must be signed in to change notification settings - Fork34
a framework for package management
License
pkgcore/pkgcore
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
pkgcore is a framework for package management; via the appropriate classplugins, the design should allow for any underlying repository/config/format tobe used; slackware's tgzs being exempted due to lack of any real metadata, andautopackage format being exempted due to the fact they effectively embed themanager in each package (pkgcoredoes require being able to treat the pkg asdata, instead of autopackage's method of handing resolution/all manager ops offto 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.
At least python version 3.11, andsnakeoil — a utility library split out ofpkgcore for others to use.
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:
pip install .
Installing the dependencies for testing, formatting, and documentation buildinginto an editable environment:
make dev-environment
Standard python test runners can be used, for example:
pytest -v
A tox config is provided so the testsuite can be run in avirtualenv setup against all supported python versions. To run tests for allenvironments just executetox in the root directory of a repo or unpackedtarball. Otherwise, for a specific python version execute something similar tothe following:
tox -e py313
Documentation is available onGithub.
For bugs and feature requests please create anissue.
About
a framework for package management
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.