dev-python/dbus-python: Remove redundant configure options
authorMichał Górny <mgorny@gentoo.org>
Tue, 24 Jul 2018 10:41:16 +0000 (12:41 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 24 Jul 2018 12:19:53 +0000 (14:19 +0200)
dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild

index a79c851ba442bed876b196fb3a1fa7c4503253b1..b2f40c7851c91fffa9901947d58d2e6f80ecfd9c 100644 (file)
@@ -44,20 +44,13 @@ src_prepare() {
 
 src_configure() {
        configuring() {
-               local PYTHON_CONFIG
-               python_export PYTHON_CONFIG
-
                # epydoc is python2-only, bug #447642
                local apidocs=--disable-api-docs
                [[ ${EPYTHON/.*} = "python2" ]] && apidocs=$(use_enable doc api-docs)
 
                econf \
-                       --docdir="${EPREFIX}"/usr/share/doc/${PF} \
                        --disable-html-docs \
-                       ${apidocs} \
-                       PYTHON_INCLUDES="$(${PYTHON_CONFIG} --includes)" \
-                       PYTHON_LIBS="$(${PYTHON_CONFIG} --ldflags)"
-               # configure assumes that ${PYTHON}-config executable exists :/
+                       ${apidocs}
        }
        python_foreach_impl run_in_build_dir configuring
 }