Skip to main content

Portage is the package management and distribution system for Gentoo

Project description

CI

About Portage

Portage is a package management system based on ports collections. The Package Manager Specification Project (PMS) standardises and documents the behaviour of Portage so that ebuild repositories can be used by other package managers.

Contributing

Contributions are always welcome! We've started using black to format the code base. Please make sure you run it against any PR's prior to submitting (otherwise we'll probably reject it).

There are ways to integrate black into your text editor and/or IDE.

You can also set up a git hook to check your commits, in case you don't want editor integration. Something like this:

# .git/hooks/pre-commit (don't forget to chmod +x)

#!/bin/bash
black --check --diff .

To ignore commit 1bb64ff452 - which is a massive commit that simply formatted the code base using black - you can do the following:

git config blame.ignoreRevsFile .gitignorerevs

Dependencies

Python and Bash should be the only hard dependencies. Python 3.6 is the minimum supported version.

Native Extensions

Portage includes some optional native extensions which can be built in the source tree by running the following command:

python setup.py build_ext --inplace --portage-ext-modules

The following setup.cfg settings can be used to enable building of native extensions for all invocations of the build_ext command (the build_ext command is invoked automatically by other build commands):

   [build_ext]
   portage_ext_modules=true

Currently, the native extensions only include libc bindings which are used to validate LC_CTYPE and LC_COLLATE behavior for EAPI 6. If the native extensions have not been built, then portage will use ctypes instead.

Licensing and Legalese

Portage is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Portage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Portage; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

More information

  • DEVELOPING contains some code guidelines.
  • LICENSE contains the GNU General Public License version 2.
  • NEWS contains new features/major bug fixes for each version.
  • RELEASE NOTES contains mainly upgrade information for each version.
  • TEST-NOTES contains Portage unit test information.

Links

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

portage-3.0.26.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

portage-3.0.26-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file portage-3.0.26.tar.gz.

File metadata

  • Download URL: portage-3.0.26.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0rc2

File hashes

Hashes for portage-3.0.26.tar.gz
Algorithm Hash digest
SHA256 7fd3b83d9b587900728c2c25626ca87fecf3032b8a76f304853270f10277dbb0
MD5 4f61b30b0f758d1a45d362315b3453f4
BLAKE2b-256 0815c6dc8d271c38a4d3c0673071dcb85e2ddedfa151988b5c8c06a4674979f9

See more details on using hashes here.

File details

Details for the file portage-3.0.26-py3-none-any.whl.

File metadata

  • Download URL: portage-3.0.26-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0rc2

File hashes

Hashes for portage-3.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 068ee030a944116da63907839ed3ec02a541cf8757c3015aa06daa424fa8d3df
MD5 bcbef7c17554efd871b0d1676688240b
BLAKE2b-256 9efd0d596bbb0070f32df1603f24ed54782394aa0c5c066d6f50eae9e76cda18

See more details on using hashes here.

Supported by

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