Adding deja-dup
This commit is contained in:
4
dev-python/pypeg2/Manifest
Normal file
4
dev-python/pypeg2/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX pypeg2-2.15.1-test.patch 399 BLAKE2B 64afae813084e2bcceb3354d6a9819425f5454d7febbb3df12d7b7f73329bfeed1a93fd7bbd046c69899f26757d984fd70964e13809ba9bb30305b80d35cdbc8 SHA512 20428aa41858da3b73a262ec2f36aed0df8626999eae27438a6bad1908b1dc79056ab33069c273aae56eabc02dfd0c080daaf42fee7e7c92ec32b95244ba41c4
|
||||
DIST pyPEG2-2.15.2.tar.gz 40334 BLAKE2B 7a171824da4c0ccc3bfaef4e429efb16f5c8c4e03dd47c5cd59656a51fe37c9d0b3940e58e2f321a4d9976f66935fd5b9d526d24bd1e0342ef15a3a1341e77a3 SHA512 f78e3b1294169167809c5fe05f2a69af2bd6c7c4c1bcbebafb4aa6b8ae6ead181a46b051e41193bc31f49c4b4fa7b1ef231d172217c11d301d0ee21d8e411b6f
|
||||
EBUILD pypeg2-2.15.2.ebuild 712 BLAKE2B 371026db2309714ca361fd70087ecfe4efef8bedc1b73926f6e41088567c4b1c5e9b112f20c20e9fe1c6ddba75b77e5e5afdac9780fd3557eb2592f808f3a8a3 SHA512 b4fa4038ccc509f3d6ae3208937b8543f477423fb6284c8f2bd684fd29d9fd94468afeab932aea914ba999c9fc6ef329f68d07cfd0d3a5bfe51c21ce4bbce313
|
||||
MISC metadata.xml 362 BLAKE2B c34e5f667750e99f16f44361c62c79d138767c94e664be039f81f7b7fb6f295e6610aeca962ece7097dfbc1372e92e697ad99572c036910352362379eb3ab4cc SHA512 7eb0a3fbe48ee8f34bb9f697aa951faece1ce5da90319a5bd8f9958d569eebd2c91539d0d1bd46c51cdc77ddb5c858bb6d158be7268666af668a935e1c4998e7
|
12
dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
Normal file
12
dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
Normal file
@ -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):
|
12
dev-python/pypeg2/metadata.xml
Normal file
12
dev-python/pypeg2/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyPEG2</remote-id>
|
||||
<remote-id type="bitbucket">fdik/pypeg</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
31
dev-python/pypeg2/pypeg2-2.15.2.ebuild
Normal file
31
dev-python/pypeg2/pypeg2-2.15.2.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=pyPEG2
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="An intrinsic PEG Parser-Interpreter for Python"
|
||||
HOMEPAGE="https://fdik.org/pyPEG/
|
||||
https://bitbucket.org/fdik/pypeg/
|
||||
https://pypi.org/project/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}"
|
||||
}
|
Reference in New Issue
Block a user