summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-15 14:39:23 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-15 14:39:23 +0000
commit4dccc53f179b11029431b3715e10b0acb7225101 (patch)
tree59194aabeaf6fed434d6adf46cc630033e0c07da /dev-python/tpg
parentFix dependencies. (diff)
downloadgentoo-2-4dccc53f179b11029431b3715e10b0acb7225101.tar.gz
gentoo-2-4dccc53f179b11029431b3715e10b0acb7225101.tar.bz2
gentoo-2-4dccc53f179b11029431b3715e10b0acb7225101.zip
Bump to 3.1.2
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/tpg')
-rw-r--r--dev-python/tpg/ChangeLog9
-rw-r--r--dev-python/tpg/tpg-3.1.2.ebuild35
2 files changed, 42 insertions, 2 deletions
diff --git a/dev-python/tpg/ChangeLog b/dev-python/tpg/ChangeLog
index 13f5fac64c95..2af3210f4d41 100644
--- a/dev-python/tpg/ChangeLog
+++ b/dev-python/tpg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/tpg
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/ChangeLog,v 1.12 2007/07/09 20:11:52 lucass Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/ChangeLog,v 1.13 2009/02/15 14:39:23 patrick Exp $
+
+*tpg-3.1.2 (15 Feb 2009)
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +tpg-3.1.2.ebuild:
+ Bump to 3.1.2
*tpg-3.1.1 (09 Jul 2007)
diff --git a/dev-python/tpg/tpg-3.1.2.ebuild b/dev-python/tpg/tpg-3.1.2.ebuild
new file mode 100644
index 000000000000..10924080c12a
--- /dev/null
+++ b/dev-python/tpg/tpg-3.1.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/tpg-3.1.2.ebuild,v 1.1 2009/02/15 14:39:23 patrick Exp $
+
+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"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc examples"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ distutils_src_install
+
+ dodoc THANKS
+
+ use doc && dodoc doc/tpg.pdf
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+src_test() {
+ "${python}" tpg_tests.py -v || die "tests failed"
+}