summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-03 00:51:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-06 20:15:23 +0200
commit03b3c1e088fef1a1327fd46a8b46ea6021553307 (patch)
treed42194d5db414b1470a68da581bdab5e97c2b00f /sci-libs/libsigrok
parentsci-libs/libsigrok: Big facelift (diff)
downloadgentoo-03b3c1e088fef1a1327fd46a8b46ea6021553307.tar.gz
gentoo-03b3c1e088fef1a1327fd46a8b46ea6021553307.tar.bz2
gentoo-03b3c1e088fef1a1327fd46a8b46ea6021553307.zip
sci-libs/libsigrok: Run python_setup conditionally in pkg_setup
...instead of unconditionally in src_configure. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/libsigrok')
-rw-r--r--sci-libs/libsigrok/libsigrok-0.5.2.ebuild2
-rw-r--r--sci-libs/libsigrok/libsigrok-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/libsigrok/libsigrok-0.5.2.ebuild b/sci-libs/libsigrok/libsigrok-0.5.2.ebuild
index 18ae0ba31b30..476037f93179 100644
--- a/sci-libs/libsigrok/libsigrok-0.5.2.ebuild
+++ b/sci-libs/libsigrok/libsigrok-0.5.2.ebuild
@@ -68,6 +68,7 @@ DEPEND="${LIB_DEPEND//\[static-libs(+)]}
S="${WORKDIR}"/${P}
pkg_setup() {
+ use python && python_setup
use ruby && ruby-ng_pkg_setup
java-pkg-opt-2_pkg_setup
}
@@ -116,7 +117,6 @@ each_python_configure() {
}
src_configure() {
- python_setup
sigrok_src_configure --disable-ruby --disable-python
use ruby && ruby-ng_src_configure
use python && python_foreach_impl each_python_configure
diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild
index 065e6b2667f2..ce8dd772ca15 100644
--- a/sci-libs/libsigrok/libsigrok-9999.ebuild
+++ b/sci-libs/libsigrok/libsigrok-9999.ebuild
@@ -68,6 +68,7 @@ DEPEND="${LIB_DEPEND//\[static-libs(+)]}
S="${WORKDIR}"/${P}
pkg_setup() {
+ use python && python_setup
use ruby && ruby-ng_pkg_setup
java-pkg-opt-2_pkg_setup
}
@@ -116,7 +117,6 @@ each_python_configure() {
}
src_configure() {
- python_setup
sigrok_src_configure --disable-ruby --disable-python
use ruby && ruby-ng_src_configure
use python && python_foreach_impl each_python_configure