From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/contextlib2/Manifest | 2 +- .../contextlib2/contextlib2-0.6.0_p1-r1.ebuild | 43 ++++++++++++++++++++++ dev-python/contextlib2/contextlib2-0.6.0_p1.ebuild | 43 ---------------------- 3 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 dev-python/contextlib2/contextlib2-0.6.0_p1-r1.ebuild delete mode 100644 dev-python/contextlib2/contextlib2-0.6.0_p1.ebuild (limited to 'dev-python/contextlib2') diff --git a/dev-python/contextlib2/Manifest b/dev-python/contextlib2/Manifest index 59a13694d8ac..0f444be25d08 100644 --- a/dev-python/contextlib2/Manifest +++ b/dev-python/contextlib2/Manifest @@ -1,3 +1,3 @@ DIST contextlib2-0.6.0.post1.tar.gz 29670 BLAKE2B 927cbc674c2cb568e71bd110773bea6f848233928bb910e0db7114812b3359b9395e43c01be1645d44f3202f94c62bc21c4db883a155c64feb636a61865dd7d8 SHA512 bd3b458b365bc1d556476f6368bc523fde07e85afdad74037aa98d7a498008103a789f6b481b606700da92606ee6477fc5a817f1596e93a6e3c548ed0d4a5bf8 -EBUILD contextlib2-0.6.0_p1.ebuild 933 BLAKE2B e7872a8464b2370d0a56adbe6106806ee8e2267cf049e706f692050a75d058d505bd94ff15eacfa607c77b9790dcb1a145ccab2534c5b515f14b412044e0f2b8 SHA512 20913a0d043bacf83575c20bd8950b94613bdd7b0a63b6f00c232ecc0e8dd91387f8633fcc70c4cdf8468bf2cb0cfaf9c5f1dc05a62c011b07d4489ef4c129d5 +EBUILD contextlib2-0.6.0_p1-r1.ebuild 927 BLAKE2B 50de0c2a86ebe47df2740861cadbf3f93a24809a6bb642e807db8cc42b5cb33aec38a0ff7e0d0c6297567cc966ee7196f4f4a40552a2af196349f9e8989f4bf2 SHA512 55a32f7ec4fdeaf8d36aecaa64a7d6022897b297749ca29914b7ae1cae4e89a3952f90fb06416b2fceb47981935710e8dcfb0b78bd0f4d04c6d9cbbafc56b9ba MISC metadata.xml 349 BLAKE2B 199f23d7a13fb54ab53398cdd83d16a2db50767df6ac02c09adde49fc93df406e3be3762840a897088f54481317d4f800c472636c66620ad806d8f04285c1192 SHA512 d7f0e31697124f884401636805e03f4de0f8fdbe2885d64f37880a534574a4c60fd4f96ba6b1286aa28995071422e1199d59ae487296a1261708f2054a06c269 diff --git a/dev-python/contextlib2/contextlib2-0.6.0_p1-r1.ebuild b/dev-python/contextlib2/contextlib2-0.6.0_p1-r1.ebuild new file mode 100644 index 000000000000..201b3c103c79 --- /dev/null +++ b/dev-python/contextlib2/contextlib2-0.6.0_p1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 + +MY_P="${PN}-${PV/_p/.post}" +DESCRIPTION="Backports and enhancements for the contextlib module" +HOMEPAGE="https://pypi.org/project/contextlib2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" +IUSE="test" + +DEPEND=" + test? ( $(python_gen_cond_dep ' + dev-python/unittest2[${PYTHON_USEDEP}] + ' python2_7 pypy3 + ) + ) +" + +S="${WORKDIR}"/${MY_P} + +RESTRICT="!test? ( test )" + +DOCS=( NEWS.rst README.rst ) + +python_prepare_all() { + sed -i -e 's:unittest.main():unittest.main(verbosity=2):' \ + test_contextlib2.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" test_contextlib2.py || die "Tests fail for ${EPYTHON}" +} diff --git a/dev-python/contextlib2/contextlib2-0.6.0_p1.ebuild b/dev-python/contextlib2/contextlib2-0.6.0_p1.ebuild deleted file mode 100644 index 51060f9397b8..000000000000 --- a/dev-python/contextlib2/contextlib2-0.6.0_p1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) - -inherit distutils-r1 - -MY_P="${PN}-${PV/_p/.post}" -DESCRIPTION="Backports and enhancements for the contextlib module" -HOMEPAGE="https://pypi.org/project/contextlib2/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" - -LICENSE="PSF-2.4" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="test" - -DEPEND=" - test? ( $(python_gen_cond_dep ' - dev-python/unittest2[${PYTHON_USEDEP}] - ' python2_7 pypy3 - ) - ) -" - -S="${WORKDIR}"/${MY_P} - -RESTRICT="!test? ( test )" - -DOCS=( NEWS.rst README.rst ) - -python_prepare_all() { - sed -i -e 's:unittest.main():unittest.main(verbosity=2):' \ - test_contextlib2.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${PYTHON}" test_contextlib2.py || die "Tests fail for ${EPYTHON}" -} -- cgit v1.2.3