Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a framework for package management

License

NotificationsYou must be signed in to change notification settings

pkgcore/pkgcore

Repository files navigation

pypitestcoverage

pkgcore

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).

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.11, andsnakeoil — a utility library split out ofpkgcore 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:

pip install .

Developing

Installing the dependencies for testing, formatting, and documentation buildinginto an editable environment:

make dev-environment

Tests

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

Docs

Documentation is available onGithub.

Contact

For bugs and feature requests please create anissue.


[8]ページ先頭

©2009-2025 Movatter.jp