summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-06-06 08:06:46 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-06-06 08:06:46 +0000
commit1a5e4cffdaa0b2331f8ccb636ffe0b0315d3f989 (patch)
tree3b3b43b9c91fed4762b04408302d4163894975e4 /dev-python/tpg
parentmarked x86 per bug 418491 (diff)
downloadgentoo-2-1a5e4cffdaa0b2331f8ccb636ffe0b0315d3f989.tar.gz
gentoo-2-1a5e4cffdaa0b2331f8ccb636ffe0b0315d3f989.tar.bz2
gentoo-2-1a5e4cffdaa0b2331f8ccb636ffe0b0315d3f989.zip
Bump for #419791
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/tpg')
-rw-r--r--dev-python/tpg/ChangeLog7
-rw-r--r--dev-python/tpg/tpg-3.2.1.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/tpg/ChangeLog b/dev-python/tpg/ChangeLog
index 6c271cbc6a04..cf21e48b7bb7 100644
--- a/dev-python/tpg/ChangeLog
+++ b/dev-python/tpg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/tpg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/ChangeLog,v 1.16 2012/03/09 09:59:31 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/ChangeLog,v 1.17 2012/06/06 08:06:46 patrick Exp $
+
+*tpg-3.2.1 (06 Jun 2012)
+
+ 06 Jun 2012; Patrick Lauer <patrick@gentoo.org> +tpg-3.2.1.ebuild:
+ Bump for #419791
*tpg-3.1.4 (09 Mar 2012)
diff --git a/dev-python/tpg/tpg-3.2.1.ebuild b/dev-python/tpg/tpg-3.2.1.ebuild
new file mode 100644
index 000000000000..8d4beba06a38
--- /dev/null
+++ b/dev-python/tpg/tpg-3.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/tpg-3.2.1.ebuild,v 1.1 2012/06/06 08:06:46 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+PYTHON_TESTS_RESTRICTED_ABIS="2.5 2.6"
+
+inherit distutils
+
+MY_P="TPG-${PV}"
+
+DESCRIPTION="Toy Parser Generator for Python"
+HOMEPAGE="http://christophe.delord.free.fr/tpg/index.html"
+SRC_URI="http://christophe.delord.free.fr/tpg/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc examples"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="THANKS"
+PYTHON_MODNAME="tpg.py"
+
+src_test() {
+ testing() {
+ "$(PYTHON)" tpg_tests.py -v
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dodoc doc/tpg.pdf || die "dodoc failed"
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "doins failed"
+ fi
+}