dev-python/pyrsistent: Bump to version 0.12.1
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 15 May 2017 08:56:45 +0000 (10:56 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 15 May 2017 09:47:09 +0000 (11:47 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/pyrsistent/Manifest
dev-python/pyrsistent/pyrsistent-0.12.1.ebuild [new file with mode: 0644]

index fb20066ee9b107aafbb2756bfc83d5135b40b274..bf32b52d8523e893b68cf152674801f0eccac502 100644 (file)
@@ -1 +1,2 @@
 DIST pyrsistent-0.12.0.tar.gz 91666 SHA256 37e19cb03435a81507f3096bec2abfbe6a1bb4098f72159d0cd37f6f8394f3cc SHA512 dd0041011cb5aa41d32cfd632e80079a1e0e19f15366c928eabc040a85e9b574dc2d1a87139b150fa8ec42f6955ddffbf6e7bf8bfd9f498a9089632189949853 WHIRLPOOL b131eaf46a35ec5dd1cdc4818d271f784093faba1d50b67713429c84946811c72cd7d73bec1c5d3a44ac992ca4abbe347bd59155ae94d9703b749cd9f0ec8dd4
+DIST pyrsistent-0.12.1.tar.gz 94031 SHA256 59d97c4a1263a4f6dd730b1622c5b89ad80d307aba99f88ac31151465b51da01 SHA512 e8b1e361a50bdd2986b21d21be6a04f065a8a2008ecdb0873b8d3fc2dfcb8f78b8f1644afb7540955008b5fb6b73ca93eb1f487f96ebd0c109f3ca72291e5f6b WHIRLPOOL 1cbdbf54e3b4e71e0e0049e2c5ed7039b71169eec4f1e4ab258b1641fbf3c9e6db8bbff5d02309c3244f811d3e5816daf87d4183318cecc829f060e04f6c8863
diff --git a/dev-python/pyrsistent/pyrsistent-0.12.1.ebuild b/dev-python/pyrsistent/pyrsistent-0.12.1.ebuild
new file mode 100644 (file)
index 0000000..17a5282
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Persistent/Functional/Immutable data structures"
+HOMEPAGE="https://github.com/tobgu/pyrsistent/ http://pypi.python.org/pypi/pyrsistent"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )"
+
+# https://github.com/tobgu/pyrsistent/issues/
+# fails
+#RESTRICT="test"
+
+python_test() {
+       export PYTHONPATH="${S}:${PYTHONPATH}"
+       py.test -v -v -x || die ${PYTHONPATH}
+}