summaryrefslogtreecommitdiff
path: root/dev-python/textx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/textx
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/textx')
-rw-r--r--dev-python/textx/Manifest3
-rw-r--r--dev-python/textx/metadata.xml11
-rw-r--r--dev-python/textx/textx-1.4.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/textx/Manifest b/dev-python/textx/Manifest
new file mode 100644
index 000000000000..7358fd465dd8
--- /dev/null
+++ b/dev-python/textx/Manifest
@@ -0,0 +1,3 @@
+DIST textX-1.4.tar.gz 21967 BLAKE2B b9e5b15715e370795470be855e0425075b1f704cab0ea2f24021345d8748f9f1a36e84618207c7684cadf86dae2ee0d613af3aaf217a881ba922385a544064ba SHA512 7783f4dd1358d8e0df126f1be893c58e32f57015fd577bd20d00a17b63111d6e48222c9b78420a307fcd0833f6d9ac3a1398d55986681251f7c378cdcd68c8a4
+EBUILD textx-1.4.ebuild 780 BLAKE2B 67030ec281008810532c1c6e4f68e7d4f0b7e7a9bdd94ae4adc0ad3bd57072d43c5de0d3872924ff2d8ae2284df282ccd952430b3b57f748be68ead5e88a7de4 SHA512 4049429fa7c54a489c40db0897815ce2d5908f9002b2cc8385aade78d2128c713ee63d619aa6c2a594cbb4c0e2f6ff80073279209b4b9acd3638f4668bdece89
+MISC metadata.xml 345 BLAKE2B a3db3e9008b38eccc86bc80783465edbebee22a3ffcd679911b07184cda3a3dcb6fe94eeceb22f05ca826d6fa7a00818ffd3f6e2aec3d3a114ba94192cb97b5a SHA512 6fd6e78938db784bfed2b97150513735680f015cd1c9f4701dba4ee0ad67bed79d5aaa6adbbfb21932e48aa27927abd69f532895e04a2b57d890327881dd191b
diff --git a/dev-python/textx/metadata.xml b/dev-python/textx/metadata.xml
new file mode 100644
index 000000000000..0de01bffde59
--- /dev/null
+++ b/dev-python/textx/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="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">textX</remote-id>
+ <remote-id type="github">igordejanovic/textX</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/textx/textx-1.4.ebuild b/dev-python/textx/textx-1.4.ebuild
new file mode 100644
index 000000000000..4050d8fe6590
--- /dev/null
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+MY_PN=textX
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
+HOMEPAGE="https://pypi.org/project/textX/ https://github.com/igordejanovic/textX"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+# pypi tarball omits tests
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/arpeggio[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+ py.test -v tests/functional || die "tests failed"
+}