diff options
author | 2021-09-19 22:36:19 -0400 | |
---|---|---|
committer | 2021-09-19 20:57:25 -0700 | |
commit | 0971f2e89390058a1b35a6288a2f2c396a2ad038 (patch) | |
tree | 450d724bfe7bc6b839d0bd7dffdbb8ca4ae32d99 /README.md | |
parent | Reformat to use spaces instead of tabs. Also, use black (diff) | |
download | portage-0971f2e89390058a1b35a6288a2f2c396a2ad038.tar.gz portage-0971f2e89390058a1b35a6288a2f2c396a2ad038.tar.bz2 portage-0971f2e89390058a1b35a6288a2f2c396a2ad038.zip |
Change README to markdown. Also add badge and info for black formatting.
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 000000000..c176e8a3f --- /dev/null +++ b/README.md @@ -0,0 +1,94 @@ +[![CI](https://github.com/gentoo/portage/actions/workflows/ci.yml/badge.svg)](https://github.com/gentoo/portage/actions/workflows/ci.yml) + +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](https://pypi.org/project/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](https://black.readthedocs.io/en/stable/integrations/editors.html) +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: + +```sh +# .git/hooks/pre-commit (don't forget to chmod +x) + +#!/bin/bash +black --check --diff . +``` + +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 +===== + +- Gentoo project page: https://wiki.gentoo.org/wiki/Project:Portage +- PMS: https://dev.gentoo.org/~ulm/pms/head/pms.html +- PMS git repo: https://gitweb.gentoo.org/proj/pms.git/ |