Skip to main content

CRUX ports dependencies helper.

Project description

prtdep

CRUX linux ports dependencies helper. Help resolving dependencies for CURX ports. It calculates dependencies for specified list of ports root paths. It can list dependencies for list of packages, list packages that depend on specified list of packages. For specified packages it can print list of packages that can freely be removed after them to have system without orphans.

Usage

As library

from prtdep import prtdep
prtdep = prtdep.Prtdep('/usr/ports')
prtdep.calc_deps()
...

For a complete list of functionality see source code.

As script:

python prtdep.py --help

As installed console script:

prtdep --help

Installation

from source:

python setup.py install

or from PyPI:

pip install prtdep

Documentation

this README.rst, code itself, docstrings

prtdep can be found on github.com at:

https://github.com/darko-poljak/prtdep

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

prtdep-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page