dev-python/cloudpickle: Bump to 1.4.0
authorMichał Górny <mgorny@gentoo.org>
Mon, 27 Apr 2020 12:20:08 +0000 (14:20 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 27 Apr 2020 12:41:57 +0000 (14:41 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/cloudpickle/Manifest
dev-python/cloudpickle/cloudpickle-1.4.0.ebuild [new file with mode: 0644]

index 378ed8cfd76e39b1a44bc1f74e9dc10c8ba026f2..7e1ec5561df6a0ece1f658fe2e8af0a19732ccd0 100644 (file)
@@ -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 (file)
index 0000000..b938479
--- /dev/null
@@ -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}"
+}