From 0824a358659678c52ada46bc9bb44af359586a96 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 24 Sep 2016 09:22:37 +0300 Subject: [PATCH] app-crypt/gpgme: even simpler distutils usage Package-Manager: portage-2.2.28 --- app-crypt/gpgme/gpgme-1.7.0.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/app-crypt/gpgme/gpgme-1.7.0.ebuild b/app-crypt/gpgme/gpgme-1.7.0.ebuild index 7ea80becd83d..2ffe8f38662b 100644 --- a/app-crypt/gpgme/gpgme-1.7.0.ebuild +++ b/app-crypt/gpgme/gpgme-1.7.0.ebuild @@ -45,7 +45,7 @@ PATCHES=( do_python() { if use python; then pushd lang/python > /dev/null || die - binary_builddir="${S}" distutils-r1_src_${EBUILD_PHASE} + distutils-r1_src_${EBUILD_PHASE} popd > /dev/null fi } @@ -71,20 +71,13 @@ src_configure() { --enable-languages="${languages[*]}" \ $(use_enable static-libs static) - python_conf() { - econf --enable-languages= - } - use python && python_foreach_impl python_conf + use python && make -C lang/python prepare + do_python } src_compile() { default - - python_build() { - make -C lang/python prepare - } - use python && python_foreach_impl python_build do_python } -- 2.26.2