|author||Michał Górny <firstname.lastname@example.org>||Sat Dec 04 05:44:40 2021 +0100|
|committer||Michał Górny <email@example.com>||Wed Dec 08 22:18:12 2021 +0100|
portage.output: Replace darkblue colors with teal The "darkblue" color is often barely visible on dark terminals which makes reading emerge output really hard (I basically have to copy-paste it a lot in order to be able to read it at all). Replace it with teal that does not seem to have any significant use in the output. Signed-off-by: Michał Górny <firstname.lastname@example.org>
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.
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
Python and Bash should be the only hard dependencies. Python 3.6 is the minimum supported version.
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):
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.
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.