summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-08-10 08:31:45 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-08-10 08:33:51 +0100
commit70b0582b4544e141f65146b3a3a348aab30b7346 (patch)
tree598588de88bd01ec8b418e0dd67abe53e4bf1c41 /app-misc/pax-utils
parentdev-embedded/platformio: Version bump (diff)
downloadgentoo-70b0582b4544e141f65146b3a3a348aab30b7346.tar.gz
gentoo-70b0582b4544e141f65146b3a3a348aab30b7346.tar.bz2
gentoo-70b0582b4544e141f65146b3a3a348aab30b7346.zip
app-misc/pax-utils: drop PYTHON_TARGETS check for USE=-python
Before the change dependency resolution passed successfully but pkg_setup() failed as: $ USE=-python PYTHON_TARGETS=python3_7 emerge -v1 app-misc/pax-utils * ERROR: app-misc/pax-utils-1.2.3-r1::gentoo failed (setup phase): * Build target (python3_6) not in PYTHON_TARGETS. Move PYTHON_TARGETS checking under 'use python'. Closes: https://bugs.gentoo.org/662120 Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'app-misc/pax-utils')
-rw-r--r--app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild (renamed from app-misc/pax-utils/pax-utils-1.2.3-r1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-misc/pax-utils/pax-utils-1.2.3-r1.ebuild b/app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild
index 4d57eedb1532..f0127f587d24 100644
--- a/app-misc/pax-utils/pax-utils-1.2.3-r1.ebuild
+++ b/app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild
@@ -38,6 +38,12 @@ _emake() {
"$@"
}
+pkg_setup() {
+ if use python; then
+ python-single-r1_pkg_setup
+ fi
+}
+
src_configure() {
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
if use prefix || ! use kernel_linux ||