app-crypt/gpgme: even simpler distutils usage
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 24 Sep 2016 06:22:37 +0000 (09:22 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 24 Sep 2016 06:23:00 +0000 (09:23 +0300)
Package-Manager: portage-2.2.28

app-crypt/gpgme/gpgme-1.7.0.ebuild

index 7ea80becd83d4b08f7b76e047f836982997191cf..2ffe8f38662b7c514ba1296bcc7acec31e481f80 100644 (file)
@@ -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
 }