summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-06-20 06:05:25 +0000
committerTim Harder <radhermit@gentoo.org>2015-06-20 06:05:25 +0000
commit0dd474f927261979d03f12c6c30f6547ac753624 (patch)
tree910a0c9221a34965ae85c9409ed0d6bf509a249b /dev-python
parentInitial import. (diff)
downloadhistorical-0dd474f927261979d03f12c6c30f6547ac753624.tar.gz
historical-0dd474f927261979d03f12c6c30f6547ac753624.tar.bz2
historical-0dd474f927261979d03f12c6c30f6547ac753624.zip
Initial import.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pypeg2/Manifest18
-rw-r--r--dev-python/pypeg2/files/pypeg2-2.15.1-test.patch12
-rw-r--r--dev-python/pypeg2/metadata.xml8
-rw-r--r--dev-python/pypeg2/pypeg2-2.15.1.ebuild30
4 files changed, 66 insertions, 2 deletions
diff --git a/dev-python/pypeg2/Manifest b/dev-python/pypeg2/Manifest
index 015d32975ae9..a929862d101f 100644
--- a/dev-python/pypeg2/Manifest
+++ b/dev-python/pypeg2/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX pypeg2-2.15.1-test.patch 399 SHA256 2d54b6c8e24d6f6efc78d5d54cb224bc0e9cf4e07e4204cb2c29577fe572f852 SHA512 20428aa41858da3b73a262ec2f36aed0df8626999eae27438a6bad1908b1dc79056ab33069c273aae56eabc02dfd0c080daaf42fee7e7c92ec32b95244ba41c4 WHIRLPOOL 150c0ae98d9a231f871964076b4840451768c3bd2a012d42294618a93b6a2aa4beefdf75b86304ec1e03d2da94410ed5be7189c5f66bf7f116f0e54e8886be98
DIST pyPEG2-2.15.1.tar.gz 24103 SHA256 f4814a5f9c84bbb0794bef8d2a5871f4aed25366791c55e2162681873ad8bd21 SHA512 53fc9f40d426384c6107e62fa76dd231d7abe7eba3144f29a6eb9374bd7f6bc2f209fc8a687a6df762a0ba98abdb1071783780acd85cd637f86692baafe52ad1 WHIRLPOOL 61ad75f1570afd4c2a282e3196c909b69af3b1d7f36a3b42b613be3a613785c75a4938948c5dfac50098ccea464a0a03564fe6c4ce8b4a8d7b6ec3cd36f58bb6
-EBUILD pypeg2-2.15.1.ebuild 716 SHA256 8beb10e6f34c4dae6871f10065792f9b9457c40e78bbd76469e5cb93590a850b SHA512 b1db3b2b8733f74ed62f7d005a473d7fbb77ed7c11d8844ef52e5ddd1484ccc763d1f583f6ca58a24988dbfd44f299c25e7cc594fdfad469ecd4e37240cc3acd WHIRLPOOL 3c1524b5e6acff5c8ff4273a0db95e185a58aa0930bf4b2fbc0a942df2aa74a3a28cfac4eef578a88cc2aea16e402c2b9805a8d6dff02ade72a7d4438c7e02df
-MISC ChangeLog 289 SHA256 2cff0e671077145398ca34416d960850cea856d20813eb91720fc84666ff7bd6 SHA512 1dafea5c165a72ba0bb8e18bce0ec38df9321b87ba9946c0a9676b408d1935a376a4b7967c102541bcbb40be2564bc229ac6d8c4ca13c1a89892e4085da6a827 WHIRLPOOL 78a93842b2be0aebe1e0cf1b62dc362d78afa3c759bc750c6837f68361a9d005d2fce915a29991cfaa8aa91b47d5fb0a0a43db504072c33703cef3128a826f7d
+EBUILD pypeg2-2.15.1.ebuild 819 SHA256 5ebcfac4f823890d04dd1a9814a673cc9427bd29670fc13a411a9a583bc24ab0 SHA512 cfa85a5fcc74e25e6515bf1232203a9a4dcdb459d7c1ac54b86d529092feecdf83a17c280bf80170973b8f4aa37b41862bfaf0e7e2e07101275b53e6bba3f471 WHIRLPOOL 76571c96a3b2520fbf32a177d67659eb3d61d3700d2fa509954ef1eeae8d2ed54b8d2d78ddea52829a2ea2adec838810d75e491e5f09ce2bf4b3874d30d9f087
+MISC ChangeLog 381 SHA256 dcadbb6db63811fe5247f76cf669ebb2a8a795eb660ff19a5852c4de15362a46 SHA512 913c82c39eb6085f036db7f8c88e6909a69f76163f45f594b8445cc332738aa2dab87deb3cbd8e6ee134e9dfab22a26400d3b58e7178fa43f67aa807c6aa4dbd WHIRLPOOL 5b080fe24d27fa28426901c77ced42f7cbbd5b45f41ceb7dc2fe109ef0d0307bb82bdf2e708c05a29fa37ab3f43326f30ecbf366ad846853a33752b942408cbf
MISC metadata.xml 225 SHA256 973605a0a25489b7b59ce8393008f421a720677149ced8c9f3a0999509225643 SHA512 ed1924db0ddadc20c42bb76acf7d8e2352777185d2df719b6317e3ae4c3dead9d8d0a42106f0534d1314629132f679b9a721b5711777001d7cef6b02b6b85567 WHIRLPOOL 3c644979cea89497a4376734c1ae0ee8664fb6811dfd238735bb00cde2b6e4379b3b6981a69a47bd9b070d9250bdc710e600a5b3375d17c6dd8a36ee13887e4f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJVhQKhAAoJEEqz6FtPBkyjpjYIAK0KArygadgv8jM9vG6XW1gB
+3dt8X6CocclOQKjKwzfvFuqprTP0rtwIowHsA0fZpxIPR8gjFu1U2HWFkg4q6h1s
+3ruIEOXg4Ntwr6cC+C4KOiJRVhF2S6PqhE6/Kg8qpoN3yz2Zyt270kRoQCJ0vMbQ
+sivbcbkSBiMwOcz1MChj7NGsKS9Pftb5C9KM57FGklptRRgmHZ7XOw9X3tDMMiwm
+hDU8btMszNBpUxD4Yae7Hn3km5wImqDpHDRA/iAWoda4+739wbwbjfkUwDFk5Vlx
+NUJzB+wyBAvSQeq7ZRTtQXQql+rRiMBVvv5CZLl+JVr1UPhoxqUz2bMg9SKmh9E=
+=0nmD
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch b/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
new file mode 100644
index 000000000000..6ca8839d7776
--- /dev/null
+++ b/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
@@ -0,0 +1,12 @@
+Drop seemingly wrong test line that throws an AttributeError.
+
+--- pyPEG2-2.15.1/pypeg2/test/test_pyPEG2.py
++++ pyPEG2-2.15.1/pypeg2/test/test_pyPEG2.py
+@@ -255,7 +255,6 @@
+ def runTest(self):
+ r = pypeg2.parse("!all", type(self).C1)
+ self.assertEqual(str(r), "all")
+- self.assertEqual(r._ignore1, None)
+
+ class ParseOmitTestCase(ParserTestCase):
+ def runTest(self):
diff --git a/dev-python/pypeg2/metadata.xml b/dev-python/pypeg2/metadata.xml
new file mode 100644
index 000000000000..f3afd53ae5ee
--- /dev/null
+++ b/dev-python/pypeg2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<upstream>
+ <remote-id type="pypi">pyPEG2</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-python/pypeg2/pypeg2-2.15.1.ebuild b/dev-python/pypeg2/pypeg2-2.15.1.ebuild
new file mode 100644
index 000000000000..1ea3818ca810
--- /dev/null
+++ b/dev-python/pypeg2/pypeg2-2.15.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypeg2/pypeg2-2.15.1.ebuild,v 1.1 2015/06/20 06:05:20 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+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}"/${P}-test.patch )
+
+python_test() {
+ "${PYTHON}" -m unittest discover || die "Tests failed with ${EPYTHON}"
+}