summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-01-24 13:17:27 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-24 13:17:27 +0100
commit569fc9d634d9f54d10671674697101f0ea97e4f6 (patch)
tree0d8d812f82673746f879b6cf1af402349e215243 /dev-libs/udis86
parentmedia-video/vdrsync: x86 stable wrt bug #763393 (diff)
downloadgentoo-569fc9d634d9f54d10671674697101f0ea97e4f6.tar.gz
gentoo-569fc9d634d9f54d10671674697101f0ea97e4f6.tar.bz2
gentoo-569fc9d634d9f54d10671674697101f0ea97e4f6.zip
dev-libs/udis86: Fix python automagic, take #2
Closes: https://bugs.gentoo.org/766845 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/udis86')
-rw-r--r--dev-libs/udis86/udis86-1.7.2-r1.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-libs/udis86/udis86-1.7.2-r1.ebuild b/dev-libs/udis86/udis86-1.7.2-r1.ebuild
index 5cc32041f20e..cfea4d942ce6 100644
--- a/dev-libs/udis86/udis86-1.7.2-r1.ebuild
+++ b/dev-libs/udis86/udis86-1.7.2-r1.ebuild
@@ -18,8 +18,8 @@ IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
+ ${PYTHON_DEPS}
test? (
- ${PYTHON_DEPS}
amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
)"
@@ -29,10 +29,6 @@ PATCHES=(
"${FILESDIR}"/${P}-python3.patch
)
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
src_prepare() {
default
eautoreconf
@@ -43,7 +39,7 @@ multilib_src_configure() {
--disable-static \
--enable-shared \
--with-pic \
- PYTHON="${EPYTHON}"
+ --with-python="${PYTHON}"
}
multilib_src_install_all() {