summaryrefslogtreecommitdiff
path: root/dev-python/rply
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/rply
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/rply')
-rw-r--r--dev-python/rply/Manifest5
-rw-r--r--dev-python/rply/metadata.xml11
-rw-r--r--dev-python/rply/rply-0.7.4.ebuild36
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/rply/Manifest b/dev-python/rply/Manifest
new file mode 100644
index 000000000000..4820962a6f34
--- /dev/null
+++ b/dev-python/rply/Manifest
@@ -0,0 +1,5 @@
+DIST rply-0.7.4.tar.gz 27392 SHA256 5fe9fc7c24dc3cfcaf443ef84fddcf420132746e64eced79b6735e7927e80329 SHA512 e3c3a828eb4b3cb20751ecb2d91efaabddbe3702d52b9adefe1748c07c843da1899e3944bcf0ab79f627ae428b8879cf99739ea7e0c6fd1acffc4ac4dee1b652 WHIRLPOOL 5d1cf3abf224a03a6210254577f388367b41c645fe4464e27e6c3537f933c79d6d004c33765c76a307973b5afde8954266da6d9bb6e850e841b9a987cc7f2e6c
+EBUILD rply-0.7.4.ebuild 909 SHA256 749eb1d9152283099d8c72e2936870b33e21828b466dfba7a9339ba6689a46f5 SHA512 5d2f041f82e0109ab154445b7ced7d2930a93b43bfe406f3798579690837945ce164878c056f7e46138b38432709e80d91c054a9f57ff2a4e27c1df306f79bbd WHIRLPOOL 22327e078ff2ce648448fb94dea7cae142a45e6a7af8d4e8c20ae6b3090d88510912a70a8babf8d1920bd8788aedc239bf873d507d38574790637cce09006aef
+MISC ChangeLog 3156 SHA256 4f6af83b8fc571d44af7e20af472ad9aa8d189dd45afd4073102314ef6c0b362 SHA512 d4cbb76af680f3ad4c0630b313610141d04274dcd76bfe2219c4046d356ec4f40b449f7d9ec34f80cb0a216321d8dc81174d17a8be0530f83e0e4246289201b2 WHIRLPOOL e1b850de33d6a613d16ea8271ec5d8bfc4c29af085254914fd6dd87bc9f6bf2d741e2a3cb88292c13e0f29cb68d9526f65d4661cbee4e1ef0db1b8d278cd14d7
+MISC ChangeLog-2015 1322 SHA256 ea00440a0e4105a05a78bdd429c5e291fa9c1c7eb096aa875859c48c409a4b12 SHA512 b431cf54849e9cad1fef50db50f932fc0c045caf35b2da53884e57c62079f197a442bae0dd45f31fe3341c7fbf80418c93523b8355005150b17b230a568ae76e WHIRLPOOL 893a5d7faf6ee2ba85c784720c33d3e655d142459f2bc20782c7f928f88efee7e608efc063c5d5c421efc971c1fe03a9b160a84ee8c6b1fa727a9fad40e08adb
+MISC metadata.xml 324 SHA256 ea1a96108ad7c521654b1f497d4007ce8625700043bdfc53474e7a97641abfa3 SHA512 9378b0e52729cd011ed824e800aa1af7ed6b9f799de0802950dbf02eeb8dd27e356ea067a46aaa91b05d96f7ec5fc17a43c0d980b7b585fecb8220b0ddc20ba8 WHIRLPOOL e064b06d81e7c3776cf2478f34389acc497494614d0f6b0effb968074fd4c0e39ee0a273c999e1d06c046109180492e5ed4e61bdd5cf77c25b080ce65ce19a9c
diff --git a/dev-python/rply/metadata.xml b/dev-python/rply/metadata.xml
new file mode 100644
index 000000000000..a1678ef4e2d1
--- /dev/null
+++ b/dev-python/rply/metadata.xml
@@ -0,0 +1,11 @@
+<?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="github">alex/rply</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/rply/rply-0.7.4.ebuild b/dev-python/rply/rply-0.7.4.ebuild
new file mode 100644
index 000000000000..6157f84c737a
--- /dev/null
+++ b/dev-python/rply/rply-0.7.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python parser generator that also works with RPython"
+HOMEPAGE="https://github.com/alex/rply"
+SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/py[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare() {
+ # https://github.com/alex/rply/issues/26; fail under py[3-4]
+ if python_is_python3; then
+ sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \
+ -i tests/test_parsergenerator.py
+ fi
+ distutils-r1_python_prepare
+}
+
+python_test() {
+ py.test || die "Tests fail with ${EPYTHON}"
+}