summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-18 18:37:01 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-18 18:37:01 +0000
commit125a2514e7749288eaeed189c44ada808c7f5d95 (patch)
tree8b7278c321c9209a48233eb07bde14e840a713cb /dev-python/ply
parentDelete older ebuild. (diff)
downloadhistorical-125a2514e7749288eaeed189c44ada808c7f5d95.tar.gz
historical-125a2514e7749288eaeed189c44ada808c7f5d95.tar.bz2
historical-125a2514e7749288eaeed189c44ada808c7f5d95.zip
Version bump. Fixed support for Python 3 in ply.cpp (bug #343641). Fixed tests with Python 3.2 (bug #343753).
Package-Manager: portage-2.2.0_alpha24_p9/cvs/Linux x86_64
Diffstat (limited to 'dev-python/ply')
-rw-r--r--dev-python/ply/ChangeLog11
-rw-r--r--dev-python/ply/Manifest6
-rw-r--r--dev-python/ply/ply-3.4.ebuild56
3 files changed, 68 insertions, 5 deletions
diff --git a/dev-python/ply/ChangeLog b/dev-python/ply/ChangeLog
index b38b0ce55709..6bb9ff721bd7 100644
--- a/dev-python/ply/ChangeLog
+++ b/dev-python/ply/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/ply
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.13 2010/08/16 16:37:11 djc Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ChangeLog,v 1.14 2011/02/18 18:37:01 arfrever Exp $
+
+*ply-3.4 (18 Feb 2011)
+
+ 18 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -ply-3.3.ebuild, +ply-3.4.ebuild:
+ Version bump. Fixed support for Python 3 in ply.cpp (bug #343641). Fixed
+ tests with Python 3.2 (bug #343753).
16 Aug 2010; Dirkjan Ochtman <djc@gentoo.org> ply-3.3.ebuild:
Update license (see homepage; bug 333025).
diff --git a/dev-python/ply/Manifest b/dev-python/ply/Manifest
index d5a0e380e24a..cfdfa9ef02fa 100644
--- a/dev-python/ply/Manifest
+++ b/dev-python/ply/Manifest
@@ -1,4 +1,4 @@
-DIST ply-3.3.tar.gz 138663 RMD160 619fad2b4050d6125cab9c34ea794bda7a0c5aa3 SHA1 23291d8127f9f7189957fe1ff8925494e389fca3 SHA256 052f3ba1838e8dfaa7d0b4f2f3957911423f0992c4c240ccfd7ec0c7dd84330b
-EBUILD ply-3.3.ebuild 1210 RMD160 14b6fbd842a15d617747237639b10afc4765deb3 SHA1 ceceb9522aa2f5962b3a0ab2edba02cbaf9bbdb3 SHA256 8eca75c319abe66bb282c926798f4abe55526a574bf7693b80e8bd6b1a999043
-MISC ChangeLog 1975 RMD160 8644e570a9e7978d29300ddc686705ec8124692a SHA1 1db528c05b01859bfb3e8dd6f2f25b2eb6f9e23b SHA256 cf7e2aea01066495f732b7e2e37f1c5d70721ae77f4022594a75670c4839fa4d
+DIST ply-3.4.tar.gz 138342 RMD160 c86c2581b4e2766f5045b76632c92a3220b3c48a SHA1 123b9449b838dc387b240ea737a33b6407e5a1ac SHA256 af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b
+EBUILD ply-3.4.ebuild 1144 RMD160 53fffc75f7c2822bafc100cda4026cefd0841a60 SHA1 ae7c1bac29d33f31d4a332ddf094616354069797 SHA256 c61b789667d538268a95c339607e0a152a949f446c070fb29f29413c7c4f66a8
+MISC ChangeLog 2228 RMD160 3076b642aaa27b703758ad9d35b841617c52dd0c SHA1 0b372bde31104ac2005e3a9cf21843a906610892 SHA256 6ec9f34b0c6edfb953316043b37789e4fa0c2929e865ca2e759a7b6298e63bb6
MISC metadata.xml 1268 RMD160 6dae5e17fe921dd670f936c3016aedc77bbf9227 SHA1 b3a5f856ce4c014dd86cc772c7bd67c7d64c55a3 SHA256 552871264db95b1396b369f4b152d1d467c6885804462efb9e53bd0a8a7426a2
diff --git a/dev-python/ply/ply-3.4.ebuild b/dev-python/ply/ply-3.4.ebuild
new file mode 100644
index 000000000000..e8b427d5deb3
--- /dev/null
+++ b/dev-python/ply/ply-3.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-3.4.ebuild,v 1.1 2011/02/18 18:37:01 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Python Lex-Yacc library"
+HOMEPAGE="http://www.dabeaz.com/ply/ http://pypi.python.org/pypi/ply"
+SRC_URI="http://www.dabeaz.com/ply/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND=""
+
+DOCS="ANNOUNCE CHANGES README TODO"
+
+src_test() {
+ python_enable_pyc
+
+ cd test
+
+ testing() {
+ local exit_status="0" test
+
+ for test in testlex.py testyacc.py; do
+ einfo "Running ${test}..."
+ if ! "$(PYTHON)" testlex.py; then
+ ewarn "${test} failed with $(python_get_implementation) $(python_get_version)"
+ exit_status="1"
+ fi
+ done
+
+ return "${exit_status}"
+ }
+ python_execute_function testing
+
+ python_disable_pyc
+}
+
+src_install() {
+ distutils_src_install
+
+ dohtml doc/* || die "dohtml failed"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r example/* || die "doins failed"
+ fi
+}