diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/tpg | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/tpg')
-rw-r--r-- | dev-python/tpg/Manifest | 3 | ||||
-rw-r--r-- | dev-python/tpg/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/tpg/tpg-3.2.2-r1.ebuild | 31 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/tpg/Manifest b/dev-python/tpg/Manifest new file mode 100644 index 000000000000..c35dae5cf429 --- /dev/null +++ b/dev-python/tpg/Manifest @@ -0,0 +1,3 @@ +DIST TPG-3.2.2.tar.gz 377142 BLAKE2B 8ffe02529aac6b1ae00c6b0c306089d90fb11da9992a8a0cb43e24b2f75f3e048000d209f81198ee6724df4a1be0efb02e3fd06570f4d45806f7dd52182891c5 SHA512 c60a8ff644377abc3edea766d33b911c85a131d0c0ca70175b7614901d316efc4b4d2fba0f17938ab104511fcfe8bd73fb4b6cf295f6465ec08f5c0ccab1d358 +EBUILD tpg-3.2.2-r1.ebuild 701 BLAKE2B 38845384eb2bfcb449c8828f4c94d46db0fe62cd1392c52c1985031590a6ae5e187a924f7d38090e232f344bb4553127f8ec45c35657e6f23aaf14791f0de61c SHA512 38f8131a8b94b1c665d59b81c205a96484af6a80d51de2975e3cf50d2533e01c13a4959568dfdf511bc3863b73c58c09354d290f1e415978978605182a9a54a9 +MISC metadata.xml 236 BLAKE2B 167eb58da19caba0e03167e2f209e118ce8a468851bca2790a0353112848fffcd72522497e5f951bf5c6eafa9691fa2a1ad980843cb4170a8194f3b8178ebe16 SHA512 0f2c2a0401b53543eac90eafdd4d11c5913be07f47b968e2892ca92c265adbd9564f02a491ff2607d7031194ba3e50c7720851537341b1541120821c487147a3 diff --git a/dev-python/tpg/metadata.xml b/dev-python/tpg/metadata.xml new file mode 100644 index 000000000000..9e5274c5b4ae --- /dev/null +++ b/dev-python/tpg/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-python/tpg/tpg-3.2.2-r1.ebuild b/dev-python/tpg/tpg-3.2.2-r1.ebuild new file mode 100644 index 000000000000..15c65f3aaa09 --- /dev/null +++ b/dev-python/tpg/tpg-3.2.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +# py2.6 doesn't pass tests +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +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" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ia64 ppc x86" +IUSE="doc examples" +DOCS=( ChangeLog README THANKS doc/tpg.pdf ) + +S="${WORKDIR}/${MY_P}" + +python_test() { + "${PYTHON}" tpg_tests.py -v || die +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |