summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-30 08:48:30 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-30 11:45:00 +0200
commit36544567bee5438eb03c610f250625e0b4d6665c (patch)
tree24a7a5e51fac0746d7b24cd3daa28da0f6244631 /dev-python/cloudpickle
parentnet-im/ejabberd: Remove duplicate patch (diff)
downloadgentoo-36544567bee5438eb03c610f250625e0b4d6665c.tar.gz
gentoo-36544567bee5438eb03c610f250625e0b4d6665c.tar.bz2
gentoo-36544567bee5438eb03c610f250625e0b4d6665c.zip
dev-python/cloudpickle: Bump to 1.4.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r--dev-python/cloudpickle/Manifest1
-rw-r--r--dev-python/cloudpickle/cloudpickle-1.4.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest
index 7e1ec5561df6..b87443b9f29a 100644
--- a/dev-python/cloudpickle/Manifest
+++ b/dev-python/cloudpickle/Manifest
@@ -1,2 +1,3 @@
DIST cloudpickle-1.3.0.tar.gz 46220 BLAKE2B a7ff773a38aae3b4a404ba7e931de06756ce95d5e45e4c204ac7ed93a3d2e7171667aa1995434f249971b2774658d1766935a7d7d3675cd4c727180221adb299 SHA512 b128a9088b36460bf3cf4edf4876ea768291de3c10c9cb6919507c4493a808136edcb819a98eb69de610e7162a96f859bae2f5c5616b558d9fea102835df611f
DIST cloudpickle-1.4.0.tar.gz 46570 BLAKE2B 3f45fdb2fe4a23a61c7b3b94c75c14d0813e09142146746907b04034d79e166be1032497d8af3e4842833a4dcdbc3d737a66e39728252825e0b94c264b0031af SHA512 ab83eead76092e0167a4182647f1fe3a66b999f9a4841e416594b480cc0134c910e31582a36bb95c00e267743056dad7d66d52c93ededc1039e147fa25e53211
+DIST cloudpickle-1.4.1.tar.gz 47459 BLAKE2B 642cac2244060ccde18c31f0047d5d957d69d396901ea31e04d28c5d7d55cd8f58fcf199054752f1a644667a5fd73a1ccc2e33b20bdfcbc4e71450aeeb832ce3 SHA512 3232dfdf91141179be510282a1fc60fa5891fffd1f012998c6a622957eabdf9deecc7431196ae70de01b2e498c97981c83ed22ac1ed6f3db8ba68ee0a9a26bd9
diff --git a/dev-python/cloudpickle/cloudpickle-1.4.1.ebuild b/dev-python/cloudpickle/cloudpickle-1.4.1.ebuild
new file mode 100644
index 000000000000..b938479134b0
--- /dev/null
+++ b/dev-python/cloudpickle/cloudpickle-1.4.1.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}"
+}