dev-python/textx: add package

Package-Manager: portage-2.3.0
This commit is contained in:
Zac Medico
2016-08-23 13:10:06 -07:00
parent a5d6928654
commit e5e1f3ef68
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST textX-1.4.tar.gz 21967 SHA256 6112b73b2c4713630824f7c57f14b3919a2c1e32a8246c37b009378b6079665c SHA512 7783f4dd1358d8e0df126f1be893c58e32f57015fd577bd20d00a17b63111d6e48222c9b78420a307fcd0833f6d9ac3a1398d55986681251f7c378cdcd68c8a4 WHIRLPOOL 8ef80f60e3a56322502912660e5296ad151b22692224c8cf04c83e2dc4e8700e78f0dae1d3f9db063f1e24e208a17d8c474a15ac57570221f9d9dedea29b9538

View File

@@ -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>

View File

@@ -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"
}