diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pypeg2 | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pypeg2')
| -rw-r--r-- | dev-python/pypeg2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pypeg2/files/pypeg2-2.15.1-test.patch | 12 | ||||
| -rw-r--r-- | dev-python/pypeg2/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild | 29 |
4 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pypeg2/Manifest b/dev-python/pypeg2/Manifest new file mode 100644 index 000000000000..da252a9c5061 --- /dev/null +++ b/dev-python/pypeg2/Manifest @@ -0,0 +1 @@ +DIST pyPEG2-2.15.2.tar.gz 40334 BLAKE2B 7a171824da4c0ccc3bfaef4e429efb16f5c8c4e03dd47c5cd59656a51fe37c9d0b3940e58e2f321a4d9976f66935fd5b9d526d24bd1e0342ef15a3a1341e77a3 SHA512 f78e3b1294169167809c5fe05f2a69af2bd6c7c4c1bcbebafb4aa6b8ae6ead181a46b051e41193bc31f49c4b4fa7b1ef231d172217c11d301d0ee21d8e411b6f 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..a40a32123078 --- /dev/null +++ b/dev-python/pypeg2/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild b/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild new file mode 100644 index 000000000000..f4105ac5d90f --- /dev/null +++ b/dev-python/pypeg2/pypeg2-2.15.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8} ) + +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" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-2.15.1-test.patch ) + +distutils_enable_tests unittest |
