diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-11-10 10:16:13 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-10 11:54:09 +0100 |
commit | 88bd7178c17314c9945b4f8fccf04b9292fa8b19 (patch) | |
tree | 9665382c9a5fbb208de06e77ac110407875444dd /dev-python | |
parent | bf7d1a6a753ba35684cb05cfa781427db024eea6 (diff) | |
download | gentoo-88bd7178c17314c9945b4f8fccf04b9292fa8b19.tar.gz gentoo-88bd7178c17314c9945b4f8fccf04b9292fa8b19.tar.xz |
dev-python/backports-abc: New package written by me
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/backports-abc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backports-abc/backports-abc-0.4.ebuild | 28 | ||||
-rw-r--r-- | dev-python/backports-abc/metadata.xml | 5 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/backports-abc/Manifest b/dev-python/backports-abc/Manifest new file mode 100644 index 00000000000..a00eaa52aaf --- /dev/null +++ b/dev-python/backports-abc/Manifest @@ -0,0 +1 @@ +DIST backports_abc-0.4.tar.gz 5593 SHA256 8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5 SHA512 0b7f9cc1d12db16a0c0eaf658fd874bf9fe09959fab65d1b0104d337fb20cceb2e3e9213be895df5951876846eccac85012c270e34197d625ce128b688e847ae WHIRLPOOL acc7b78e0dae1f533778513a5a92cc03ebd42906e84a5f4266fbe911fa54b56ca0e65e670730b2afab2d48cbea26a8ea1207ff5bccae56aa20191aaebd9b00d9 diff --git a/dev-python/backports-abc/backports-abc-0.4.ebuild b/dev-python/backports-abc/backports-abc-0.4.ebuild new file mode 100644 index 00000000000..772b67d9ea2 --- /dev/null +++ b/dev-python/backports-abc/backports-abc-0.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/_} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Backport of Python 3.5's 'collections.abc' module" +HOMEPAGE="https://github.com/cython/backports_abc https://pypi.python.org/pypi/backports_abc/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +# https://github.com/cython/backports_abc/issues/4 +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +S=${WORKDIR}/${MY_P} + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" "${PYTHON}" tests.py || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/backports-abc/metadata.xml b/dev-python/backports-abc/metadata.xml new file mode 100644 index 00000000000..ee7e8b2450a --- /dev/null +++ b/dev-python/backports-abc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |