commit: 03b9241496a6110ba042ac5a9fb27b71b0468900 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Wed Nov 30 13:52:21 2016 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Nov 30 13:54:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b92414
dev-python/backports-abc: Bump to version 0.5 Package-Manager: portage-2.3.2 dev-python/backports-abc/Manifest | 1 + dev-python/backports-abc/backports-abc-0.5.ebuild | 27 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-python/backports-abc/Manifest b/dev-python/backports-abc/Manifest index a00eaa5..dbe5a5b 100644 --- a/dev-python/backports-abc/Manifest +++ b/dev-python/backports-abc/Manifest @@ -1 +1,2 @@ DIST backports_abc-0.4.tar.gz 5593 SHA256 8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5 SHA512 0b7f9cc1d12db16a0c0eaf658fd874bf9fe09959fab65d1b0104d337fb20cceb2e3e9213be895df5951876846eccac85012c270e34197d625ce128b688e847ae WHIRLPOOL acc7b78e0dae1f533778513a5a92cc03ebd42906e84a5f4266fbe911fa54b56ca0e65e670730b2afab2d48cbea26a8ea1207ff5bccae56aa20191aaebd9b00d9 +DIST backports_abc-0.5.tar.gz 9807 SHA256 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde SHA512 5c2bc01bce8d3ed482bf5d8361a20f9afa3edc1c50280f0a01ffb890690b92296fcbfa68f79677fc3ebba851617f339cb6367ccdd0fadf1127a4e3c030784b7d WHIRLPOOL 582c107ddeab83c682940bfdaf4b850dcc73b79ff6e4968215c03d34c475fe5db2d9bf836c9aae5170fedef74f2a30216abaed0f275967ffa839122725cdbbc5 diff --git a/dev-python/backports-abc/backports-abc-0.5.ebuild b/dev-python/backports-abc/backports-abc-0.5.ebuild new file mode 100644 index 00000000..08c2d98 --- /dev/null +++ b/dev-python/backports-abc/backports-abc-0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} 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" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +S=${WORKDIR}/${MY_P} + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" "${PYTHON}" tests.py || die "tests failed with ${EPYTHON}" +}