summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-05-17 21:07:31 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-05-17 21:07:31 +0000
commit80cb24ac04fae98ce4acb273872e03b65ec82649 (patch)
treec247361d994eecff7fa5af3027535ba475def8a4 /net-zope/zope-fixers
parentremove old (diff)
downloadgentoo-2-80cb24ac04fae98ce4acb273872e03b65ec82649.tar.gz
gentoo-2-80cb24ac04fae98ce4acb273872e03b65ec82649.tar.bz2
gentoo-2-80cb24ac04fae98ce4acb273872e03b65ec82649.zip
Allow installation for Python 2.
(Portage version: 2.2.0_alpha33_p39/cvs/Linux x86_64)
Diffstat (limited to 'net-zope/zope-fixers')
-rw-r--r--net-zope/zope-fixers/ChangeLog8
-rw-r--r--net-zope/zope-fixers/zope-fixers-1.0.ebuild13
2 files changed, 14 insertions, 7 deletions
diff --git a/net-zope/zope-fixers/ChangeLog b/net-zope/zope-fixers/ChangeLog
index a2db66480fc5..14ce6a4ffce8 100644
--- a/net-zope/zope-fixers/ChangeLog
+++ b/net-zope/zope-fixers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-zope/zope-fixers
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/ChangeLog,v 1.1 2010/05/05 20:49:58 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/ChangeLog,v 1.2 2011/05/17 21:07:31 arfrever Exp $
+
+ 17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ zope-fixers-1.0.ebuild:
+ Allow installation for Python 2.
*zope-fixers-1.0 (05 May 2010)
diff --git a/net-zope/zope-fixers/zope-fixers-1.0.ebuild b/net-zope/zope-fixers/zope-fixers-1.0.ebuild
index af218be92c2c..237ab74ebbfa 100644
--- a/net-zope/zope-fixers/zope-fixers-1.0.ebuild
+++ b/net-zope/zope-fixers/zope-fixers-1.0.ebuild
@@ -1,10 +1,14 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/zope-fixers-1.0.ebuild,v 1.2 2010/10/30 19:02:26 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/zope-fixers-1.0.ebuild,v 1.3 2011/05/17 21:07:31 arfrever Exp $
EAPI="3"
-PYTHON_DEPEND="3:3.1"
+PYTHON_DEPEND="2:2.6 3:3.1"
SUPPORT_PYTHON_ABIS="1"
+# lib2to3 module required. Python 3.0 not supported.
+RESTRICT_PYTHON_ABIS="2.[45] 3.0"
+# Testing not supported with Python 2.
+PYTHON_TESTS_RESTRICTED_ABIS="2.*"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils
@@ -23,9 +27,8 @@ IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
-RESTRICT_PYTHON_ABIS="2.* 3.0"
S="${WORKDIR}/${MY_P}"
-PYTHON_MODNAME="${PN/-//}"
DOCS="CHANGES.txt README.txt"
+PYTHON_MODNAME="${PN/-//}"