diff options
author | 2020-12-09 18:31:22 +0100 | |
---|---|---|
committer | 2020-12-09 23:17:46 +0100 | |
commit | 5bd5d2f9ea331119ea681e52ccaff1bce172ac98 (patch) | |
tree | 18b09375459a2afe90bcb3ee5e179b85ec58d93f /dev-lang/python-exec/metadata.xml | |
parent | dev-lang/python-exec: Remove old (diff) | |
download | gentoo-5bd5d2f9ea331119ea681e52ccaff1bce172ac98.tar.gz gentoo-5bd5d2f9ea331119ea681e52ccaff1bce172ac98.tar.bz2 gentoo-5bd5d2f9ea331119ea681e52ccaff1bce172ac98.zip |
dev-lang/python-exec: Add USE=native-symlinks to break stuff
Following toolchain packages, let's add USE=native-symlinks (the name
is far from perfect but consistency) that removes convenience python
and python3 symlinks. This should help test that ebuilds don't rely
on implicit Python versioning and use Python eclasses correctly.
In other words, semi-broken ebuilds will fail early.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python-exec/metadata.xml')
-rw-r--r-- | dev-lang/python-exec/metadata.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-lang/python-exec/metadata.xml b/dev-lang/python-exec/metadata.xml index 751ada8263f2..cef85cf6ce7d 100644 --- a/dev-lang/python-exec/metadata.xml +++ b/dev-lang/python-exec/metadata.xml @@ -13,4 +13,11 @@ <bugs-to>https://github.com/mgorny/python-exec/issues/</bugs-to> <remote-id type="github">mgorny/python-exec</remote-id> </upstream> + <use> + <flag name="native-symlinks"> + Install generic symlinks like python and python3. If this flag + is disabled, only versioned python3.X executables will + be available to end users and ebuilds not using python eclasses. + </flag> + </use> </pkgmetadata> |