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
commit72f2101ad4cbe446e328aacb55acf6a0568b2657 (patch)
tree604e42ac8f8cb12b96cd9603b740244f7091bd15 /dev-python/pyparsing
parentVersion Bump (diff)
downloadhistorical-72f2101ad4cbe446e328aacb55acf6a0568b2657.tar.gz
historical-72f2101ad4cbe446e328aacb55acf6a0568b2657.tar.bz2
historical-72f2101ad4cbe446e328aacb55acf6a0568b2657.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-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/Manifest4
-rw-r--r--dev-python/pyparsing/pyparsing-1.5.2.ebuild23
3 files changed, 29 insertions, 4 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/Manifest b/dev-python/pyparsing/Manifest
index a68ee5dcdcfa..1d26b706b037 100644
--- a/dev-python/pyparsing/Manifest
+++ b/dev-python/pyparsing/Manifest
@@ -1,6 +1,6 @@
DIST pyparsing-1.5.1.tar.gz 912714 RMD160 694d2ad8aa0b6efe47bb96e2eb160fb83fd83b1e SHA1 5d3218cba6e00b8ca7cf842f3c8e5db2ce6f5f85 SHA256 e94b9c84e64a0eb0de1c175937c220ddee744b300d68b798db3d6db64bed085e
DIST pyparsing-1.5.2.tar.gz 790616 RMD160 cf564cc42951e134b8ed29e97d680d9df0b61545 SHA1 298ec7c4df5f188088be21b5feda35752fa46507 SHA256 1021fd2cfdf9c3b6ac0191b018c15d591501b77d977baded59d8ef76d375f21c
EBUILD pyparsing-1.5.1.ebuild 769 RMD160 57de243b6796233a4b379ae19bbcc87d184927a2 SHA1 5cadc4cfd610205d8a6f6472e0f233c3c8426fa5 SHA256 6904fc7ca3c9c8b9cc6ae93cb31f1a8a988f360a96168e17f8e26ef817502829
-EBUILD pyparsing-1.5.2.ebuild 774 RMD160 06f189e4694c060545ed0fc7867ef4631acb8fed SHA1 d5cb82fe9700debce200c310149dacf6c083ba7a SHA256 51b9eeeacd4c8579f21db6d500256fe48a1ec3bd98e4f2464aec8a9dd483e09c
-MISC ChangeLog 5564 RMD160 eb4ca016266e8ca496e394f1a82c2f8d9c56356f SHA1 8f7cf3df68739bb0cb1e3a1c36f8dea499bf0ac8 SHA256 4f7e799bee66dc634fc44e854cb3b9a07c3a41f7f737ccecb96cd0c5c6dd1d50
+EBUILD pyparsing-1.5.2.ebuild 1196 RMD160 5951a72512e1b39b179d176f2a40c77a779cf224 SHA1 0ecf0b8660bd6ece956b2374faf2c006e4a49c17 SHA256 ec5d87f8c81a43a8a1da95faf58fc0f9409fbf63b2c963d69465733d875faf46
+MISC ChangeLog 5692 RMD160 63b8ca80d6ccf150f37e7ad300667d55a84775ae SHA1 b4d580bd3b7741a8fe6177479fa661698ee258da SHA256 a0b191308a3d95ae0d49a63a87ed3f245153ade1b3b63292451d6bd01eb7d776
MISC metadata.xml 520 RMD160 6b57ef91eae43f9b9f64171621fe64230ed473b9 SHA1 53586af4a1fa74e4c7a75d6ed08c48b754225180 SHA256 ae0e81558a2486de0916140a0887bc2c597d767af07852759a39f9cb988e54a6
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
+}