Skip to main content

package managing framework

Project description

pypi test coverage

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkgcore-0.12.21.tar.gz (629.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pkgcore-0.12.21-py3-none-any.whl (699.2 kB view details)

Uploaded Python 3

File details

Details for the file pkgcore-0.12.21.tar.gz.

File metadata

  • Download URL: pkgcore-0.12.21.tar.gz
  • Upload date:
  • Size: 629.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pkgcore-0.12.21.tar.gz
Algorithm Hash digest
SHA256 d5e328a2f458d90777a053e072ff27588982bf425afd9b29ddd913abf9e05c27
MD5 456adc6acfda8df224926026cd66fa18
BLAKE2b-256 c4e1b51e455fcef17cd55a6f4baaae2085ec8c193abf092f5329041a13ead5a6

See more details on using hashes here.

File details

Details for the file pkgcore-0.12.21-py3-none-any.whl.

File metadata

  • Download URL: pkgcore-0.12.21-py3-none-any.whl
  • Upload date:
  • Size: 699.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pkgcore-0.12.21-py3-none-any.whl
Algorithm Hash digest
SHA256 6b667d837c9c524fae94269decc6144f7326b8deb2281367e07f436be6ba2246
MD5 ad5c90f0937f77fa7d509058153f8c69
BLAKE2b-256 a2bbfb0a77c94f18b623fc2d8af982c0a6cfaeaea6e9688672f8abb20c58e797

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page