diff --git a/dev-python/textx/Manifest b/dev-python/textx/Manifest new file mode 100644 index 0000000000000..56875a1443140 --- /dev/null +++ b/dev-python/textx/Manifest @@ -0,0 +1 @@ +DIST textX-1.4.tar.gz 21967 SHA256 6112b73b2c4713630824f7c57f14b3919a2c1e32a8246c37b009378b6079665c SHA512 7783f4dd1358d8e0df126f1be893c58e32f57015fd577bd20d00a17b63111d6e48222c9b78420a307fcd0833f6d9ac3a1398d55986681251f7c378cdcd68c8a4 WHIRLPOOL 8ef80f60e3a56322502912660e5296ad151b22692224c8cf04c83e2dc4e8700e78f0dae1d3f9db063f1e24e208a17d8c474a15ac57570221f9d9dedea29b9538 diff --git a/dev-python/textx/metadata.xml b/dev-python/textx/metadata.xml new file mode 100644 index 0000000000000..0de01bffde594 --- /dev/null +++ b/dev-python/textx/metadata.xml @@ -0,0 +1,11 @@ + + + + + zmedico@gentoo.org + + + textX + igordejanovic/textX + + diff --git a/dev-python/textx/textx-1.4.ebuild b/dev-python/textx/textx-1.4.ebuild new file mode 100644 index 0000000000000..ccd24edae3772 --- /dev/null +++ b/dev-python/textx/textx-1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +MY_PN=textX +MY_P=${MY_PN}-${PV} +DESCRIPTION="Meta-language for DSL implementation inspired by Xtext" +HOMEPAGE="https://pypi.python.org/pypi/${MY_PN} https://github.com/igordejanovic/${MY_PN}" +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" +}