summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-22 01:31:24 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-22 02:07:08 -0400
commit21ada4fd98d48162a6affd01f2585df82dd0d1e5 (patch)
tree9544396e082a8d273990cb613944aecf9e029e3f /dev-python/contextlib2
parentdev-python/llfuse: remove old (diff)
downloadgentoo-21ada4fd98d48162a6affd01f2585df82dd0d1e5.tar.gz
gentoo-21ada4fd98d48162a6affd01f2585df82dd0d1e5.tar.bz2
gentoo-21ada4fd98d48162a6affd01f2585df82dd0d1e5.zip
dev-python/contextlib2: version bump to 0.5.5
Diffstat (limited to 'dev-python/contextlib2')
-rw-r--r--dev-python/contextlib2/Manifest1
-rw-r--r--dev-python/contextlib2/contextlib2-0.5.5.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/contextlib2/Manifest b/dev-python/contextlib2/Manifest
index f4592b6bc2f3..0e5163b7fe2b 100644
--- a/dev-python/contextlib2/Manifest
+++ b/dev-python/contextlib2/Manifest
@@ -1 +1,2 @@
DIST contextlib2-0.5.4.tar.gz 28523 SHA256 710626cde569f51a87f216ff757fe60f5cd13ae8f8114706590510cd5649ce88 SHA512 c8bb5bf9dbbf5bfd882663813f2a456d82215be7ace55aed1d5047ce7f21f26d5518982ec26344b1e950d3aea27cd8a5c48627730bb28f8b3cfb6a331fd7ba66 WHIRLPOOL bae1717340b05362ae2e55b995920d39e01a37fb147e19838e6a79176809daa39e3fe5774ce74811614fcdadf8f1b28ea757cdda5e4811543dbc2d4b230b132a
+DIST contextlib2-0.5.5.tar.gz 28755 SHA256 509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48 SHA512 d5c97ff8eef7d8b14da0bfdc3515f8019bcc05e24cb922ce08ca2366d5182b029d873bbf172e9e6791297df05e24f6faf40868550063dcdb54f451b14c9e505d WHIRLPOOL e8b79b9df04541756de5575ff69aa048e285fd4bed2345346932ee0938f85bd73f791d4ac86e836237a2dc865166f8d1ef703c120d9580a616bc2f53b9f0eacc
diff --git a/dev-python/contextlib2/contextlib2-0.5.5.ebuild b/dev-python/contextlib2/contextlib2-0.5.5.ebuild
new file mode 100644
index 000000000000..0c57fbcb5e9a
--- /dev/null
+++ b/dev-python/contextlib2/contextlib2-0.5.5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} 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}"
+}