summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-28 20:31:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-28 20:31:43 +0000
commitbc59c2989ef340a629fed26df9fbc8c70d4deafb (patch)
treeb757f4743e50f2e16527483a224b253482f37658 /net-p2p/bittornado
parentpunt old. libnotify issues. (diff)
downloadhistorical-bc59c2989ef340a629fed26df9fbc8c70d4deafb.tar.gz
historical-bc59c2989ef340a629fed26df9fbc8c70d4deafb.tar.bz2
historical-bc59c2989ef340a629fed26df9fbc8c70d4deafb.zip
Use Python 2 (bug #315857).
Package-Manager: portage-2.2.0_alpha29/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/ChangeLog8
-rw-r--r--net-p2p/bittornado/Manifest4
-rw-r--r--net-p2p/bittornado/bittornado-0.3.18-r2.ebuild18
3 files changed, 20 insertions, 10 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 2fda21ef8217..4aeebaec9c5e 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/bittornado
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.70 2008/01/17 14:17:37 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.71 2011/03/28 20:31:43 arfrever Exp $
+
+ 28 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ bittornado-0.3.18-r2.ebuild:
+ Use Python 2 (bug #315857).
17 Jan 2008; Raúl Porcel <armin76@gentoo.org>
bittornado-0.3.18-r2.ebuild:
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index 5136a6d761a8..cdb783ea36c6 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -4,6 +4,6 @@ AUX bttrack.conf 728 RMD160 c5c7438e64e335d40a33d685e9b0ee0824577ceb SHA1 fbc4cf
AUX bttrack.rc 631 RMD160 72d3594c01896167e70f568710cf076d2c469979 SHA1 5a4c2b0e95bb6a2c0b73dedf68456ce3bd21d6c6 SHA256 a28cb3b55c7acc0a4f9c0ce0802eb5d579eb5c0f8ddc028fbad380bc5f89f6ae
AUX favicon.ico 1406 RMD160 735b7ee87f222400b294866e323b281b4e9cdd70 SHA1 3fade857763dd8b603c32080c2a29542973c0dd7 SHA256 ae5728b520add5961a8b7f8300058bf9571b9b14dba96dfaf64520d089e56c22
DIST BitTornado-0.3.18.tar.gz 189227 RMD160 77e61f01101c2878d4e993e0581365a71c375892 SHA1 64c65b69d112f76ba8a024ff5b8671058130b71a SHA256 d9e6ad0bf5b2e9820bab809c5a4fcd94e844a57f396ac51547fe47dbe255d9e0
-EBUILD bittornado-0.3.18-r2.ebuild 1446 RMD160 9d1ba5328ffbd3d8d47e561cfa8aefd43ad9c435 SHA1 9ff16486442a91adfa48b95464c0bdcfa8b76af0 SHA256 f2e7202575805cd0925be7e4c617aaa05978d77624ceb97c6d61da5ecd5cad47
-MISC ChangeLog 9715 RMD160 f8a9d6b2cf2b77f5695708c1a82a3a228aff59d0 SHA1 b32351192b6b0eea18e7695b052fbc4ce8b858fb SHA256 b4357410aeed02831bdf9dc63de5d30268c4596413ae875bc13471ebe5a236e5
+EBUILD bittornado-0.3.18-r2.ebuild 1525 RMD160 76617031748b05a1ad0688b2ec69d339d7acd0fe SHA1 f4c8af1a70ecd0b072132833b8867a615a548dc8 SHA256 5b29f8b828f43a56e140f901cb5e4557d5f46fc92e684de09eb9be914e546a70
+MISC ChangeLog 9851 RMD160 6f19d6e6d389b663ba985d27d49b26d18c566b42 SHA1 504fbe4555418c20fca2fb603ef50121698f3c19 SHA256 024a8aba9f7cd839f1a6bf73fecc4328b0ba3fa2f2edc6bd038fc02e199c831a
MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
diff --git a/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild b/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild
index ed753da7a10a..f34f62f6e401 100644
--- a/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild
+++ b/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild,v 1.2 2008/01/17 14:17:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.18-r2.ebuild,v 1.3 2011/03/28 20:31:43 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
inherit distutils eutils
@@ -17,7 +20,6 @@ KEYWORDS="alpha amd64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="gtk"
RDEPEND="gtk? ( =dev-python/wxpython-2.6* )
- >=dev-lang/python-2.1
dev-python/pycrypto"
DEPEND="${RDEPEND}
app-arch/unzip
@@ -26,14 +28,18 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_PN}-CVS"
PIXMAPLOC="/usr/share/pixmaps/bittornado"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_prepare() {
# fixes wrong icons path
sed -i "s:os.path.abspath(os.path.dirname(os.path.realpath(sys.argv\[0\]))):\"${PIXMAPLOC}/\":" btdownloadgui.py
# Needs wxpython-2.6 only, bug #201247
epatch "${FILESDIR}"/${P}-wxversion.patch
+
+ python_convert_shebangs -r 2 .
}
src_install() {