dev-python/arpeggio: add package

Package-Manager: portage-2.3.0
This commit is contained in:
Zac Medico
2016-08-23 12:52:03 -07:00
parent 70435417c7
commit a5d6928654
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST Arpeggio-1.5.tar.gz 18856 SHA256 56c3550852fa8a1d24806fe0ab60cae6649460c6194d0d5fd1382c5bf050859c SHA512 533c59635556a3446c04c8b14f53e8ad6a7a39869f39d958bdd52b5a55ad43c533bc42a41999cc149015b34470d8ff0eca295ff1942c75b33a58a403a604c449 WHIRLPOOL 137243048317eb3716ada2ebb2b51382d0e7fafe4d8895c6a1f8b0067060edc277fcffc38869c32174e07a9113a12a3bbd513887e3eeb62dea9c0f3751380467

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=Arpeggio
MY_P=${MY_PN}-${PV}
DESCRIPTION="Parser interpreter based on PEG grammars"
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=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)
"
S=${WORKDIR}/${MY_P}
python_test() {
py.test -v tests || die "tests failed"
}

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">Arpeggio</remote-id>
<remote-id type="github">igordejanovic/Arpeggio</remote-id>
</upstream>
</pkgmetadata>