summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-29 13:05:07 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-29 15:20:41 +0200
commitb91199f8c4f9520e855a9017cf337921cddcad64 (patch)
tree3b4f196e5cd52b8892e179f02fdca22042b5135c /dev-python/contextlib2
parentdev-python/datashape: Bump (diff)
downloadgentoo-b91199f8c4f9520e855a9017cf337921cddcad64.tar.gz
gentoo-b91199f8c4f9520e855a9017cf337921cddcad64.tar.bz2
gentoo-b91199f8c4f9520e855a9017cf337921cddcad64.zip
dev-python/contextlib2: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/contextlib2')
-rw-r--r--dev-python/contextlib2/Manifest1
-rw-r--r--dev-python/contextlib2/contextlib2-0.5.3.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/contextlib2/Manifest b/dev-python/contextlib2/Manifest
index 4317aad9de2c..af2562f22b2d 100644
--- a/dev-python/contextlib2/Manifest
+++ b/dev-python/contextlib2/Manifest
@@ -1,2 +1,3 @@
DIST contextlib2-0.4.0.tar.gz 18741 SHA256 55a5dc78f7a742a0e756645134ffb39bbe11da0fea2bc0f7070d40dac208b732 SHA512 622762c5490f0ff3e4b421a63bccce8fe0753977112ee0db9640dad31093c40c8a331f3d7cade9925f17903eaeaa376925ef607d7a440170c7c5ec1c8e04f56a WHIRLPOOL b1b2b753b15cb5124ebc378acf6b959839e727a53d3a096eea5b04404fc059f6a1b49b9fa23cc6310ad1b9bcfa655a82088af0906a74f8326d7bf57f3793440c
DIST contextlib2-0.5.1.tar.gz 25186 SHA256 227c79e126e8a8904a81d162750581ed3d49af2395a3100be7067b7296d33d45 SHA512 da3a954a52a0f036e0b2d949bf4e73f4551eb637944eae5f6f421a1c22b2177dcfa56984a6c77692bb92713cf73a0df02b9159268b428550651fb7be97074613 WHIRLPOOL b970100478d107ce89ea9a21d670767cae8921acc095922fb82a3b1c19eeecb98bc326888e97ac9fd5b9dec71f2a69b769693f2a07ecb48060b3b76353ad1ade
+DIST contextlib2-0.5.3.tar.gz 26415 SHA256 30e500f13921c73c96f49a6dd2adfbdd92bc3fae12183e91b06b2e4583486206 SHA512 9d4ba9d10ec0e222f8e76ad4704b83f89892fe503dcf558fde7a8e2bfefe35f2292411843cdb7bae3f8383a9f27ff851f6bc566314e1ae76e2dcefc29fc712e2 WHIRLPOOL 90b022aa1c141accd29816bfdedd4b12402e826b4e707e4086ccf842e8149eb35afd131bad638eda0c3a57ba308d1605a16d55af00827753abd7336066eb2a99
diff --git a/dev-python/contextlib2/contextlib2-0.5.3.ebuild b/dev-python/contextlib2/contextlib2-0.5.3.ebuild
new file mode 100644
index 000000000000..09a8aed06769
--- /dev/null
+++ b/dev-python/contextlib2/contextlib2-0.5.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Backports and enhancements for the contextlib module"
+HOMEPAGE="https://pypi.python.org/pypi/contextlib2"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2.4"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
+
+python_test() {
+ "${PYTHON}" test_contextlib2.py || die "Tests fail for ${EPYTHON}"
+}