| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
This works around sandbox failures with python3.7, which moved from
/usr/$(get_libdir) to /usr/lib.
Bug: https://bugs.gentoo.org/671948
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Python 3.5+ introduces parallel build support in distutils. Take
advantage of that by passing appropriate -j option. Since distutils
does not support an equivalent of --load-average, default to the number
of CPUs+1 when unspecified.
In order to avoid breaking stable systems, introduce the new behavior
only for EAPI 7 ebuilds, or older EAPI ebuilds with unstable
implementations (Python 3.7 and PyPy 3).
|
|
|
|
|
| |
Support EAPI 7. Move PYTHON_DEPS from DEPEND to BDEPEND. Fix trailing
slash uses for D/ED.
|
| |
|
|
|
|
|
| |
Limit xdg_environment_reset call to EAPIs 5 & 6. It should no longer
be necessary with ENV_UNSET done in EAPI 7.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrite the python_*_all() phase running code to reuse python_setup
instead of hacking on top of python_foreach_impl. The resulting code
is a bit simpler but most importantly, it avoids duplication of code
from python-r1 and ensures that distutils-r1 common phases are directly
altered by changes in python_setup.
The code still needs to reimplement some of the internals. However, it
is mostly limited to code specific to distutils-r1, and should be more
maintainable.
|
|
|
|
|
| |
The variable was deprecated and the warning put in place in Dec 2014. It
is no longer used in any ebuild in ::gentoo.
|
|
|
|
| |
Update the missed occurence of pattern matching with the new framework.
|
|
|
|
|
|
|
| |
Prefix the _clean_egg_info function with an appropriate namespace,
and document its purpose with eclassdoc format. Be more verbose
on the exact problem being solved; remove URL to old upstream bug
tracker that no longer exists.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a check for *-nspkg.pth files indicating implicit setuptools
namespace hack. While they kept namespaces somewhat working without
requiring explicit support in ebuilds, they were unreliable. They
frequently required additional hacks (distutils_install_for_testing) to
get the tests working, and they have proven even more broken for Python
3.5+.
For this reason, those files were deprecated in favor of proper,
explicit namespace support. If they are found to exist, the developer
should ensure to remove them to avoid issues.
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
|
|
|
|
| |
In setuptools and new python releases, this causes the SOURCES.txt to include all
egg-info files with absolute paths. Without this setting these files are not included in that file and everything works and installs correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently distutils_install_for_testing does not install the complete
egg-info into ${TEST_DIR}. This was first noticed by W. Trevor King
and reported in bug #524322. Based on info found in the related upstream
setuptools bug I added the necessary call to setuptools to create
the complete egg_info.
Without this certain packages (like cryptography) fail during testing
because they use introspection but the metadata isn't available.
Bug: https://bugs.gentoo.org/524322
|
|
|
|
| |
Bug: https://bugs.gentoo.org/577704
|
|
|
|
|
| |
This was only necessary when we ran phases in parallel.
Also, PMS says this variable should not be modified.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove .pydistutils.cfg from HOME before returning.
This config should only be needed when we are invoking setup.py. The
esetup.py wrapper provides a normalized way for doing this; if ebuilds
call setup.py without the wrapper, they are now also responsible for
setting the build directory if necessary.
This change allows us to stop overriding the HOME variable, and prevents
leakage of eclass-specifc configuration to the general ebuild
environment.
|
|
|
|
| |
This just looks nicer in build logs.
|
|
|
|
|
|
| |
This reverts commit 3bcfb71425f15e237d6002ff3626e2e169df3f05.
This change can break ebuilds that call esetup.py in src_test.
|
|
|
|
|
| |
This was only necessary when we ran phases in parallel.
Also, PMS says this variable should not be modified.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not apply PATCHES and user patches (either via the EAPI 6 default or
pre-EAPI 5 code) when DISTUTILS_OPTIONAL is being used. In this case,
distutils functions are usually called conditionally, in a subdirectory,
while both PATCHES and user patches are usually intended to be applied
top-level.
There is no ebuild relying on distutils-r1_src_prepare applying patches
with DISTUTILS_OPTIONAL. In fact, there are ebuilds which work around
this behavior.
|
| |
|
|
|
|
|
|
|
| |
Use 'cp -R' for distutils-r1_copy_egg_info() as the '-r' option triggers
triggers undesired '-L' behavior wrt symbolic links.
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=568692
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The commit was done without contacting the maintainer and does not
conform to line width used within the eclass.
Reverts: df8e399c9b ("eclass: Use consistent place for...")
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
| |
Bug: https://bugs.gentoo.org/559644
|
| |
|
|
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
|