summaryrefslogtreecommitdiff
path: root/dev-python/simpleparse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/simpleparse
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/simpleparse')
-rw-r--r--dev-python/simpleparse/Manifest5
-rw-r--r--dev-python/simpleparse/metadata.xml12
-rw-r--r--dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild45
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/simpleparse/Manifest b/dev-python/simpleparse/Manifest
new file mode 100644
index 000000000000..2b178fdb5419
--- /dev/null
+++ b/dev-python/simpleparse/Manifest
@@ -0,0 +1,5 @@
+DIST SimpleParse-2.1.1.tar.gz 207078 SHA256 2f1393790dd7b0af9775bd9c828430ffdd8bccd6227783c09e835e1aced415d9 SHA512 b0a46b8b708ba711c81f739177d7df3814dc7f0ba3a0a7e4ec9b9ade045f1ee90dfdaf76de96306c490238b901275adafbff4efdd2ab46d7a78bf9082c2da0a8 WHIRLPOOL 31a27f533942f07324684969fb8a6d687753b7f105942c7a7e660f670ed11b6009b62c56d4ddc7e2933bbb82f0b1f75a5db1d5748744c45f04f2006696a76e93
+EBUILD simpleparse-2.1.1-r1.ebuild 889 SHA256 bfd2b6b4f2b52b5435e743f148408636ee7cc2a2cf48210ba34cd03538a33927 SHA512 e194e6a86f472f278349769fbd6b541fce09e3d804b706eac107774ca7198782ddb1b29033755feb8e64a986355ab061807a400f52d5eb5926b71a765875cc37 WHIRLPOOL f25b112658c74d2b87c8ec4c1eebbae76f228ad6ffd348080b691c39e69471f9b0502f8ec22455b433091dc4edf9a3d12d7a5e73bac742743587e17b30846d7d
+MISC ChangeLog 3726 SHA256 ebaed3137d6b2ce2b536b677ba45c3c098cacc711e15e79bb3fb1d4e1c1aba15 SHA512 f6d66369489ddfb46fbb8ca075ae15ed2cd231b76be521ae219f336fe128fed36a14474c662d70a378fd44f8040a4014aa4a4133282afff0660f3d704b189ec5 WHIRLPOOL bc20fc0865b491a0a834b47b9c469d5e5e9f81ac0e888b544e7a36ae7067fc9cf47692c6915dab73f36a97174769c5ea335ec37909af4b79dc289348e43d2e45
+MISC ChangeLog-2015 5267 SHA256 a3b5377b6ba7f130a36315624091a314a1195abf91cf0ddc10dd6c026f1b99a4 SHA512 c356ff1535ed2d07ac8fc6f51c8164b2cc54cddfbba8e46cf23abc1127c34ab08832ceb479619339ce8c495e1cee6660ed89fcac6f164a940d1af9343a6741e6 WHIRLPOOL b0abf4d153770a4a54a1fdaf77fd8343dcc115071dbbcaa69617f93fe63025457aa71788234a29b37a4e3f619d4805f1e930bb704927ba7a85e9b31fe7a025aa
+MISC metadata.xml 370 SHA256 bdc405bee1ddb2cf9d87fd19c0cb78a19a1b9aeaee9a79c22295d3d237f25c09 SHA512 0877167d21e0ef79140c4bed17510462a6cf1f22bd768fe7159a8f73e520c64f55296ba0f15e9c62ceced53b3c75cfef8476e044e65f1c19b3b1e1172019c97a WHIRLPOOL dae1c09a750e7f55f9bdc5a17fe775c7e8795646530dab15ff3144c0e233bf1f16d93b138d0e3e25e3cb698255534b880237980a69347a2f48c977240a9c2b27
diff --git a/dev-python/simpleparse/metadata.xml b/dev-python/simpleparse/metadata.xml
new file mode 100644
index 000000000000..011e63f9fbe0
--- /dev/null
+++ b/dev-python/simpleparse/metadata.xml
@@ -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">SimpleParse</remote-id>
+ <remote-id type="sourceforge">simpleparse</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild b/dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..fb5234006edd
--- /dev/null
+++ b/dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=(python2_7)
+inherit distutils-r1
+
+MY_PN="SimpleParse"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A Parser Generator for mxTextTools"
+HOMEPAGE="http://simpleparse.sourceforge.net https://pypi.python.org/pypi/SimpleParse"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="eGenixPublic-1.1 HPND"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="doc examples test"
+
+S="${WORKDIR}/${MY_P}"
+
+# tests segfault, bug #454680
+RESTRICT=test
+
+src_prepare() {
+ distutils-r1_src_prepare
+ rm -f {examples,tests}/__init__.py
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ if use doc ; then
+ dohtml -r doc/*
+ fi
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
+
+python_test() {
+ PYTHONPATH=${BUILD_DIR}/lib python tests/test.py || die
+}