diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-03 00:51:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-06 20:15:23 +0200 |
commit | 03b3c1e088fef1a1327fd46a8b46ea6021553307 (patch) | |
tree | d42194d5db414b1470a68da581bdab5e97c2b00f /sci-libs | |
parent | sci-libs/libsigrok: Big facelift (diff) | |
download | gentoo-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')
-rw-r--r-- | sci-libs/libsigrok/libsigrok-0.5.2.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/libsigrok/libsigrok-9999.ebuild | 2 |
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 |