diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 23:15:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 23:15:33 +0000 |
commit | 938c607c102c7da37b2406f232f7d859a2884eb5 (patch) | |
tree | 52fd8f91929fd239d7971a172d777804c8b9ddd9 /dev-python/ply | |
parent | Set SUPPORT_PYTHON_ABIS. (diff) | |
download | gentoo-2-938c607c102c7da37b2406f232f7d859a2884eb5.tar.gz gentoo-2-938c607c102c7da37b2406f232f7d859a2884eb5.tar.bz2 gentoo-2-938c607c102c7da37b2406f232f7d859a2884eb5.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14170-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/ply')
-rw-r--r-- | dev-python/ply/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/ply/ply-3.2.ebuild (renamed from dev-python/ply/ply-2.3.ebuild) | 34 |
2 files changed, 32 insertions, 10 deletions
diff --git a/dev-python/ply/ChangeLog b/dev-python/ply/ChangeLog index 2c7dcb45fcc4..0d9c9789dce6 100644 --- a/dev-python/ply/ChangeLog +++ b/dev-python/ply/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/ply # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.10 2009/07/01 06:29:47 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.11 2009/08/29 23:15:33 arfrever Exp $ + +*ply-3.2 (29 Aug 2009) + + 30 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -ply-2.3.ebuild, +ply-3.2.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *ply-2.5 (01 Jul 2009) diff --git a/dev-python/ply/ply-2.3.ebuild b/dev-python/ply/ply-3.2.ebuild index 7d5506ae8b62..12d65b04ad1d 100644 --- a/dev-python/ply/ply-2.3.ebuild +++ b/dev-python/ply/ply-3.2.ebuild @@ -1,18 +1,39 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-2.3.ebuild,v 1.2 2007/07/03 10:39:28 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.2.ebuild,v 1.1 2009/08/29 23:15:33 arfrever Exp $ -inherit distutils +EAPI="2" +SUPPORT_PYTHON_ABIS="1" -KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +inherit distutils DESCRIPTION="Python Lex-Yacc library" SRC_URI="http://www.dabeaz.com/ply/${P}.tar.gz" HOMEPAGE="http://www.dabeaz.com/ply/" + LICENSE="LGPL-2.1" SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" IUSE="examples" +src_prepare() { + sed -e "s/print repr(result)/print(repr(result))/" -i test/testyacc.py || die "sed failed" +} + +src_test() { + python_enable_pyc + + cd test + + testing() { + "$(PYTHON)" testlex.py || return 1 + "$(PYTHON)" testyacc.py || return 1 + } + python_execute_function testing + + python_disable_pyc +} + src_install() { DOCS="ANNOUNCE CHANGES" distutils_src_install @@ -22,8 +43,3 @@ src_install() { doins -r example fi } - -src_test() { - cd test - "${python}" rununit.py || die "test failed" -} |