dev-python/cloudpickle: Bump to 1.4.1
authorMichał Górny <mgorny@gentoo.org>
Thu, 30 Apr 2020 06:48:30 +0000 (08:48 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 30 Apr 2020 09:45:00 +0000 (11:45 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/cloudpickle/Manifest
dev-python/cloudpickle/cloudpickle-1.4.1.ebuild [new file with mode: 0644]

index 7e1ec5561df6a0ece1f658fe2e8af0a19732ccd0..b87443b9f29aa219d2a1bc08b676ad11122ec8fd 100644 (file)
@@ -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 (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}"
+}