diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-08-26 11:29:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-08-26 12:14:24 +0200 |
commit | 147c5c3be2aaf0c53fab89b39ee7f479558b553d (patch) | |
tree | 04118c78d45a5718023aeb95d5a3e25ee8d9be14 /dev-python/cloudpickle | |
parent | www-client/firefox: x86 stable (bug #739006) (diff) | |
download | gentoo-147c5c3be2aaf0c53fab89b39ee7f479558b553d.tar.gz gentoo-147c5c3be2aaf0c53fab89b39ee7f479558b553d.tar.bz2 gentoo-147c5c3be2aaf0c53fab89b39ee7f479558b553d.zip |
dev-python/cloudpickle: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r-- | dev-python/cloudpickle/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-1.6.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index e5de270d2e94..8c69544daeeb 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1 +1,2 @@ DIST cloudpickle-1.5.0.tar.gz 50992 BLAKE2B 8536362d455c5688134ce22d0bb2c5786da17336c8a907e8cf9e39833df03a6061ac901e45e85907a54e8d9b404f21132d4d944adf925a9056f0334eaca50904 SHA512 75356e3e5ade2ee5941b4cea576f1ffbab5d9b1a86eff23dc9275974f592c947d0b3b29d335b4dc38be16e36c89c8fc65b2883ae90923960e605502c777d9816 +DIST cloudpickle-1.6.0.tar.gz 52743 BLAKE2B 9007ebd4464adc0cb203e596cb756176d17ede5cfb90d172e11630df3e0a93dba471d8b20aaf750701cbbf1fdfb4a5faf24a75f8df82aecb4b77bd62c8979027 SHA512 3b663a013d1512b732b13f38bdf2d5d89704a73577c9fee2a6e808882d42ecc1bdb3589b1cc61279ec621b6dac27d8e223b2fd839442e2d5994892f04d015535 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}" +} |