summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-27 14:20:08 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-27 14:41:57 +0200
commitc76e2032d342d7021548eb46961275f349c4fd47 (patch)
tree7d4d563129922c3ebe4505d02024f37c5597d7e6 /dev-python
parentdev-python/pockets: Remove spurious USE=test (diff)
downloadgentoo-c76e2032d342d7021548eb46961275f349c4fd47.tar.gz
gentoo-c76e2032d342d7021548eb46961275f349c4fd47.tar.bz2
gentoo-c76e2032d342d7021548eb46961275f349c4fd47.zip
dev-python/cloudpickle: Bump to 1.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cloudpickle/Manifest1
-rw-r--r--dev-python/cloudpickle/cloudpickle-1.4.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest
index 378ed8cfd76e..7e1ec5561df6 100644
--- a/dev-python/cloudpickle/Manifest
+++ b/dev-python/cloudpickle/Manifest
@@ -1 +1,2 @@
DIST cloudpickle-1.3.0.tar.gz 46220 BLAKE2B a7ff773a38aae3b4a404ba7e931de06756ce95d5e45e4c204ac7ed93a3d2e7171667aa1995434f249971b2774658d1766935a7d7d3675cd4c727180221adb299 SHA512 b128a9088b36460bf3cf4edf4876ea768291de3c10c9cb6919507c4493a808136edcb819a98eb69de610e7162a96f859bae2f5c5616b558d9fea102835df611f
+DIST cloudpickle-1.4.0.tar.gz 46570 BLAKE2B 3f45fdb2fe4a23a61c7b3b94c75c14d0813e09142146746907b04034d79e166be1032497d8af3e4842833a4dcdbc3d737a66e39728252825e0b94c264b0031af SHA512 ab83eead76092e0167a4182647f1fe3a66b999f9a4841e416594b480cc0134c910e31582a36bb95c00e267743056dad7d66d52c93ededc1039e147fa25e53211
diff --git a/dev-python/cloudpickle/cloudpickle-1.4.0.ebuild b/dev-python/cloudpickle/cloudpickle-1.4.0.ebuild
new file mode 100644
index 000000000000..b938479134b0
--- /dev/null
+++ b/dev-python/cloudpickle/cloudpickle-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+inherit distutils-r1
+
+DESCRIPTION="Extended pickling support for Python objects"
+HOMEPAGE="https://pypi.org/project/cloudpickle/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ # -s unbreaks some tests
+ # https://github.com/cloudpipe/cloudpickle/issues/252
+ pytest -svv || die "Tests fail with ${EPYTHON}"
+}