diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-08-23 13:10:06 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-08-23 13:14:17 -0700 |
commit | e5e1f3ef68195823b58e320b288534117d7d0196 (patch) | |
tree | 30b00eabe2dff0b2e92954ef05202998468e88af | |
parent | dev-python/arpeggio: add package (diff) | |
download | gentoo-e5e1f3ef68195823b58e320b288534117d7d0196.tar.gz gentoo-e5e1f3ef68195823b58e320b288534117d7d0196.tar.bz2 gentoo-e5e1f3ef68195823b58e320b288534117d7d0196.zip |
dev-python/textx: add package
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-python/textx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/textx/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/textx/textx-1.4.ebuild | 34 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/textx/Manifest b/dev-python/textx/Manifest new file mode 100644 index 000000000000..56875a144314 --- /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 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..ccd24edae377 --- /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" +} |