dev-python/cloudpickle: Bump to 3.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-10-12 06:59:33 +02:00
parent 9f37fd98aa
commit a702fd4e98
2 changed files with 40 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST cloudpickle-3.0.0.gh.tar.gz 59519 BLAKE2B 6d5c7b98990bb4d59ffc4e75efe109814430c8b73753d630b169ce0c455e5d5105782a314d4921b5051d458758980c954b8a84cf79a9534c9a382a8066d03c27 SHA512 e091cc0de2489c06e020fac2852d25f7fd832036a2b2c4c34f0cda0c642a1c65413fc0f21dc51fec75803e7c7da37f26f613620150acd9ab4aa2bb7b1eaabb79
DIST cloudpickle-3.1.0.gh.tar.gz 62638 BLAKE2B f99e2c96aa60a98ed401c59d8bfb6fc18735cda685ce669747e50a28d19cf27bea6e863af42b8e93c28ee7ddd0a075359864b683fca356c74c425a13f9573833 SHA512 1ab356d394af43496ab426c58a33e087dc2c71da77a7e744f860115a40217bac9f16d10b9510543415f8b8c1799729c6a6bf0f4c6b4b5eb82fce7a25fabbfa1d
@@ -0,0 +1,39 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Extended pickling support for Python objects"
HOMEPAGE="
https://github.com/cloudpipe/cloudpickle/
https://pypi.org/project/cloudpickle/
"
SRC_URI="
https://github.com/cloudpipe/cloudpickle/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
BDEPEND="
test? (
dev-python/psutil[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg
# -s unbreaks some tests
# https://github.com/cloudpipe/cloudpickle/issues/252
epytest -s
}