summaryrefslogtreecommitdiff
path: root/dev-python/cloudpickle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /dev-python/cloudpickle
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r--dev-python/cloudpickle/Manifest2
-rw-r--r--dev-python/cloudpickle/cloudpickle-1.6.0.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest
index da509e8e8ec6..8d9e44e1bfb8 100644
--- a/dev-python/cloudpickle/Manifest
+++ b/dev-python/cloudpickle/Manifest
@@ -1,3 +1,5 @@
DIST cloudpickle-1.5.0.tar.gz 50992 BLAKE2B 8536362d455c5688134ce22d0bb2c5786da17336c8a907e8cf9e39833df03a6061ac901e45e85907a54e8d9b404f21132d4d944adf925a9056f0334eaca50904 SHA512 75356e3e5ade2ee5941b4cea576f1ffbab5d9b1a86eff23dc9275974f592c947d0b3b29d335b4dc38be16e36c89c8fc65b2883ae90923960e605502c777d9816
+DIST cloudpickle-1.6.0.tar.gz 52743 BLAKE2B 9007ebd4464adc0cb203e596cb756176d17ede5cfb90d172e11630df3e0a93dba471d8b20aaf750701cbbf1fdfb4a5faf24a75f8df82aecb4b77bd62c8979027 SHA512 3b663a013d1512b732b13f38bdf2d5d89704a73577c9fee2a6e808882d42ecc1bdb3589b1cc61279ec621b6dac27d8e223b2fd839442e2d5994892f04d015535
EBUILD cloudpickle-1.5.0.ebuild 802 BLAKE2B b542010c2ff549e6938b99289baa5a334d84147bdd43cd675553b0ca0301286a99ac1709af4705092c258009c295404a317879af2ff6beab5ac3177d29b3da3f SHA512 8c9d3160b2106cfe3bc0040110d68e7374e1b327253219b6825df8415124a2fa4645cafd00771c0c404a0714ced80312456051717aa8234b57beb30e87b6b86b
+EBUILD cloudpickle-1.6.0.ebuild 805 BLAKE2B 174372759bf858c7fcb3342b0c3b1998fcca22c53f709af0458880210c7c39066786769525e5aa84f8317eb7346b0b902c8951a6dca2c95e95930ef9a31f225e SHA512 2c6f12a485943ee98fb68067bbc5df1e14492c105d566acab6350d3f20dfe8516564ceb6ec80afb8ce65230d3053de3bf254a5fb34e35814fe5df4951a761ea4
MISC metadata.xml 349 BLAKE2B f7eeb1b4942b76c75c613e051071f3901bcd71892208d6a27121a212854f1b840914fda091f7ff7fbb085c07a38b4bfb7bc10131f82abece68d136b13199f853 SHA512 8321d76e26a00e6d3f27179f0fd158e2675c5d577861807251cb81664408b91e43d6a4e0917c2c846570a07388d6a36c51c6c3739c91a8d148aef9d6549b3623
diff --git a/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild b/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild
new file mode 100644
index 000000000000..198841d7c8ae
--- /dev/null
+++ b/dev-python/cloudpickle/cloudpickle-1.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Extended pickling support for Python objects"
+HOMEPAGE="
+ https://pypi.org/project/cloudpickle/
+ https://github.com/cloudpipe/cloudpickle/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg
+ # -s unbreaks some tests
+ # https://github.com/cloudpipe/cloudpickle/issues/252
+ pytest -svv || die "Tests fail with ${EPYTHON}"
+}