Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 267505 Details for
Bug 315857
net-p2p/bittornado: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow python3 to be the main interpreter
bittornado-python3.patch (text/plain), 990 bytes, created by
Boris
on 2011-03-28 09:00:20 UTC
(
hide
)
Description:
allow python3 to be the main interpreter
Filename:
MIME Type:
Creator:
Boris
Created:
2011-03-28 09:00:20 UTC
Size:
990 bytes
patch
obsolete
>--- old/bittornado-0.3.18-r2.ebuild 2008-01-17 15:17:37.000000000 +0100 >+++ new/bittornado-0.3.18-r2.ebuild 2011-03-28 10:25:18.865288002 +0200 >@@ -2,7 +2,9 @@ > # 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 $ > >-inherit distutils eutils >+PYTHON_DEPEND="2" >+ >+inherit python distutils eutils > > MY_PN="BitTornado" > MY_P="${MY_PN}-${PV}" >@@ -17,7 +19,6 @@ > IUSE="gtk" > > RDEPEND="gtk? ( =dev-python/wxpython-2.6* ) >- >=dev-lang/python-2.1 > dev-python/pycrypto" > DEPEND="${RDEPEND} > app-arch/unzip >@@ -26,6 +27,10 @@ > S="${WORKDIR}/${MY_PN}-CVS" > PIXMAPLOC="/usr/share/pixmaps/bittornado" > >+pkg_setup() { >+ python_set_active_version 2 >+} >+ > src_unpack() { > unpack ${A} > cd "${S}" >@@ -36,6 +41,10 @@ > epatch "${FILESDIR}"/${P}-wxversion.patch > } > >+src_prepare() { >+ python_convert_shebangs -r 2 . >+} >+ > src_install() { > distutils_src_install >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 315857
: 267505