diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-08-23 12:52:03 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-08-23 13:14:17 -0700 |
commit | a5d69286542b10be4e725b84e526278abf5a12e2 (patch) | |
tree | 71ec5d50b58032da0c5530af1237f8252ec33762 /dev-python/arpeggio | |
parent | 70435417c72a2a431a50bc671efdaa13708edd0b (diff) | |
download | gentoo-a5d69286542b10be4e725b84e526278abf5a12e2.tar.gz gentoo-a5d69286542b10be4e725b84e526278abf5a12e2.tar.xz |
dev-python/arpeggio: add package
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/arpeggio')
-rw-r--r-- | dev-python/arpeggio/Manifest | 1 | ||||
-rw-r--r-- | dev-python/arpeggio/arpeggio-1.5.ebuild | 34 | ||||
-rw-r--r-- | dev-python/arpeggio/metadata.xml | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/arpeggio/Manifest b/dev-python/arpeggio/Manifest new file mode 100644 index 00000000000..bd302cf462d --- /dev/null +++ b/dev-python/arpeggio/Manifest @@ -0,0 +1 @@ +DIST Arpeggio-1.5.tar.gz 18856 SHA256 56c3550852fa8a1d24806fe0ab60cae6649460c6194d0d5fd1382c5bf050859c SHA512 533c59635556a3446c04c8b14f53e8ad6a7a39869f39d958bdd52b5a55ad43c533bc42a41999cc149015b34470d8ff0eca295ff1942c75b33a58a403a604c449 WHIRLPOOL 137243048317eb3716ada2ebb2b51382d0e7fafe4d8895c6a1f8b0067060edc277fcffc38869c32174e07a9113a12a3bbd513887e3eeb62dea9c0f3751380467 diff --git a/dev-python/arpeggio/arpeggio-1.5.ebuild b/dev-python/arpeggio/arpeggio-1.5.ebuild new file mode 100644 index 00000000000..1557bc4efdc --- /dev/null +++ b/dev-python/arpeggio/arpeggio-1.5.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=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" +} diff --git a/dev-python/arpeggio/metadata.xml b/dev-python/arpeggio/metadata.xml new file mode 100644 index 00000000000..91634f41522 --- /dev/null +++ b/dev-python/arpeggio/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">Arpeggio</remote-id> + <remote-id type="github">igordejanovic/Arpeggio</remote-id> + </upstream> +</pkgmetadata> |