summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-03-10 22:02:09 -0500
committerTim Harder <radhermit@gentoo.org>2016-03-10 22:15:15 -0500
commit74fb6d722cb9e2dd471feafd9c8124cb96dad433 (patch)
tree84a9046fcd4b4b2845ac67a6e99ce22cc87ed790 /dev-python/pypeg2
parentwww-client/google-chrome-beta: automated update (diff)
downloadgentoo-74fb6d722cb9e2dd471feafd9c8124cb96dad433.tar.gz
gentoo-74fb6d722cb9e2dd471feafd9c8124cb96dad433.tar.bz2
gentoo-74fb6d722cb9e2dd471feafd9c8124cb96dad433.zip
dev-python/pypeg2: version bump to 2.15.2
Also, add py35 support.
Diffstat (limited to 'dev-python/pypeg2')
-rw-r--r--dev-python/pypeg2/Manifest1
-rw-r--r--dev-python/pypeg2/pypeg2-2.15.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pypeg2/Manifest b/dev-python/pypeg2/Manifest
index 53719f8891a3..8506e2f4acbd 100644
--- a/dev-python/pypeg2/Manifest
+++ b/dev-python/pypeg2/Manifest
@@ -1 +1,2 @@
DIST pyPEG2-2.15.1.tar.gz 24103 SHA256 f4814a5f9c84bbb0794bef8d2a5871f4aed25366791c55e2162681873ad8bd21 SHA512 53fc9f40d426384c6107e62fa76dd231d7abe7eba3144f29a6eb9374bd7f6bc2f209fc8a687a6df762a0ba98abdb1071783780acd85cd637f86692baafe52ad1 WHIRLPOOL 61ad75f1570afd4c2a282e3196c909b69af3b1d7f36a3b42b613be3a613785c75a4938948c5dfac50098ccea464a0a03564fe6c4ce8b4a8d7b6ec3cd36f58bb6
+DIST pyPEG2-2.15.2.tar.gz 40334 SHA256 2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d SHA512 f78e3b1294169167809c5fe05f2a69af2bd6c7c4c1bcbebafb4aa6b8ae6ead181a46b051e41193bc31f49c4b4fa7b1ef231d172217c11d301d0ee21d8e411b6f WHIRLPOOL ecbd65cee238b4bcb931ddb255d1ee77046cb551929826294e622afdafcdfe59337680b6e079cc644a3df531313e65796c04ea97e169eb051b099e6233b5385f
diff --git a/dev-python/pypeg2/pypeg2-2.15.2.ebuild b/dev-python/pypeg2/pypeg2-2.15.2.ebuild
new file mode 100644
index 000000000000..9bc17ff8eeb5
--- /dev/null
+++ b/dev-python/pypeg2/pypeg2-2.15.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_PN=pyPEG2
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="An intrinsic PEG Parser-Interpreter for Python"
+HOMEPAGE="http://fdik.org/pyPEG/ https://bitbucket.org/fdik/pypeg/ https://pypi.python.org/pypi/pyPEG2"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-2.15.1-test.patch )
+
+python_test() {
+ "${PYTHON}" -m unittest discover || die "Tests failed with ${EPYTHON}"
+}