summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 16:05:15 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-05 16:05:15 +0000
commita498713a88c07a6598e2da75f0b966e56cb9ade1 (patch)
tree69b25c2f10a83ae0f6b7ecbd9f144fba54ca9996 /dev-python/pyparsing
parentVersion Bump (diff)
downloadgentoo-2-a498713a88c07a6598e2da75f0b966e56cb9ade1.tar.gz
gentoo-2-a498713a88c07a6598e2da75f0b966e56cb9ade1.tar.bz2
gentoo-2-a498713a88c07a6598e2da75f0b966e56cb9ade1.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14200-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyparsing')
-rw-r--r--dev-python/pyparsing/ChangeLog6
-rw-r--r--dev-python/pyparsing/pyparsing-1.5.2.ebuild23
2 files changed, 27 insertions, 2 deletions
diff --git a/dev-python/pyparsing/ChangeLog b/dev-python/pyparsing/ChangeLog
index 2539a6e28852..d0821f511fc5 100644
--- a/dev-python/pyparsing/ChangeLog
+++ b/dev-python/pyparsing/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyparsing
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/ChangeLog,v 1.41 2009/09/04 19:46:35 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/ChangeLog,v 1.42 2009/09/05 16:05:15 arfrever Exp $
+
+ 05 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyparsing-1.5.2.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*pyparsing-1.5.2 (04 Sep 2009)
diff --git a/dev-python/pyparsing/pyparsing-1.5.2.ebuild b/dev-python/pyparsing/pyparsing-1.5.2.ebuild
index e2f0de5d9272..3cbdf0b23ea5 100644
--- a/dev-python/pyparsing/pyparsing-1.5.2.ebuild
+++ b/dev-python/pyparsing/pyparsing-1.5.2.ebuild
@@ -1,6 +1,11 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/pyparsing-1.5.2.ebuild,v 1.1 2009/09/04 19:46:35 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/pyparsing-1.5.2.ebuild,v 1.2 2009/09/05 16:05:15 arfrever Exp $
+
+EAPI="2"
+
+NEED_PYTHON="2.6"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -13,6 +18,18 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples"
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="2.4 2.5"
+
+src_prepare() {
+ distutils_src_prepare
+
+ mv -f pyparsing_py3.py pyparsing.py || die "mv failed"
+ sed -e 's/, "pyparsing_py3"//' -i setup.py || die "sed failed"
+ sed -e "s/pyparsing_py3 as pyparsing/pyparsing/" -e "s/pyparsing_py3/pyparsing/" -i pyparsing.py
+}
+
src_install() {
distutils_src_install
@@ -30,3 +47,7 @@ src_install() {
doins -r examples
fi
}
+
+pkg_postinst() {
+ python_mod_optimize pyparsing.py
+}