net-p2p/deluge: Override esetup.py
authorMike Gilbert <floppym@gentoo.org>
Thu, 9 Jun 2016 17:30:19 +0000 (13:30 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 9 Jun 2016 17:30:32 +0000 (13:30 -0400)
Resolves a build failure triggered by a change in distutils-r1.eclass.

Bug: https://bugs.gentoo.org/585454

Package-Manager: portage-2.3.0_rc1_p20

net-p2p/deluge/deluge-1.3.12-r3.ebuild
net-p2p/deluge/deluge-1.3.12.ebuild
net-p2p/deluge/deluge-9999.ebuild

index 1327cd2d56f401a2497cba56da21e2e38a63f5ec..92b0c5316fbefe4310a9ae749c2b50201e105a2f 100644 (file)
@@ -56,11 +56,13 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-_distutils-r1_create_setup_cfg() {
+esetup.py() {
        # bug 531370: deluge has its own plugin system. No need to relocate its egg info files.
        # Override this call from the distutils-r1 eclass.
        # This does not respect the distutils-r1 API. DONOT copy this example.
-       :
+       set -- "${PYTHON}" setup.py "$@"
+       echo "$@"
+       "$@" || die
 }
 
 python_install_all() {
index c0fec62210a12a64598fd3aae83839a0431c9aa1..221f13c8a0a70af26b4e89840708c447a8aa5fed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -55,11 +55,13 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-_distutils-r1_create_setup_cfg() {
+esetup.py() {
        # bug 531370: deluge has its own plugin system. No need to relocate its egg info files.
        # Override this call from the distutils-r1 eclass.
        # This does not respect the distutils-r1 API. DONOT copy this example.
-       :
+       set -- "${PYTHON}" setup.py "$@"
+       echo "$@"
+       "$@" || die
 }
 
 python_install_all() {
index 579b78ef727a9c6a67936cbaba39842d539ff9b8..e11f9c01a2c61602a134f70aa79422b734ca971e 100644 (file)
@@ -56,11 +56,13 @@ python_prepare_all() {
        distutils-r1_python_prepare_all
 }
 
-_distutils-r1_create_setup_cfg() {
+esetup.py() {
        # bug 531370: deluge has its own plugin system. No need to relocate its egg info files.
        # Override this call from the distutils-r1 eclass.
        # This does not respect the distutils-r1 API. DONOT copy this example.
-       :
+       set -- "${PYTHON}" setup.py "$@"
+       echo "$@"
+       "$@" || die
 }
 
 python_install_all() {