summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda XU <heroxbd@gentoo.org>2014-12-21 09:12:14 +0000
committerBenda XU <heroxbd@gentoo.org>2014-12-21 09:12:14 +0000
commit29ad96b14fdd945f77c405475a20345e6cb3531f (patch)
tree79af0a38706a8da7dee55d13131eb43a651d8cfd /net-p2p
parentrm old (diff)
downloadgentoo-2-29ad96b14fdd945f77c405475a20345e6cb3531f.tar.gz
gentoo-2-29ad96b14fdd945f77c405475a20345e6cb3531f.tar.bz2
gentoo-2-29ad96b14fdd945f77c405475a20345e6cb3531f.zip
Override _distutils-r1_create_setup_cfg to disable out-of-tree builds; needed for the deluge plugin system. Bug 531370. Credits Kostas Kavourakis, poncho, Anthony Ryan and Paolo Pedroni.
(Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/deluge/ChangeLog7
-rw-r--r--net-p2p/deluge/deluge-1.3.11.ebuild9
2 files changed, 14 insertions, 2 deletions
diff --git a/net-p2p/deluge/ChangeLog b/net-p2p/deluge/ChangeLog
index 011376180a52..95171696bf9b 100644
--- a/net-p2p/deluge/ChangeLog
+++ b/net-p2p/deluge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/deluge
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.190 2014/12/01 05:54:08 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.191 2014/12/21 09:12:14 heroxbd Exp $
+
+ 21 Dec 2014; Benda Xu <heroxbd@gentoo.org> deluge-1.3.11.ebuild:
+ Override _distutils-r1_create_setup_cfg to disable out-of-tree builds; needed
+ for the deluge plugin system. Bug 531370. Credits Kostas Kavourakis, poncho,
+ Anthony Ryan and Paolo Pedroni.
*deluge-1.3.11 (01 Dec 2014)
diff --git a/net-p2p/deluge/deluge-1.3.11.ebuild b/net-p2p/deluge/deluge-1.3.11.ebuild
index 2322482b454d..d08de503c0ec 100644
--- a/net-p2p/deluge/deluge-1.3.11.ebuild
+++ b/net-p2p/deluge/deluge-1.3.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.3.11.ebuild,v 1.1 2014/12/01 05:54:08 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.3.11.ebuild,v 1.2 2014/12/21 09:12:14 heroxbd Exp $
EAPI="5"
@@ -53,6 +53,13 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+_distutils-r1_create_setup_cfg() {
+ # 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.
+ :
+}
+
python_install_all() {
distutils-r1_python_install_all
newinitd "${FILESDIR}"/deluged.init deluged