diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-10-12 06:41:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-10-12 06:59:33 +0200 |
commit | a702fd4e983d8dce58bdc99b14d666d8fc87309e (patch) | |
tree | f5fce00a803d86ae852acff5d81c7289ef568e54 /dev-python/cloudpickle | |
parent | dev-python/scrypt: Bump to 0.8.27 (diff) | |
download | gentoo-a702fd4e983d8dce58bdc99b14d666d8fc87309e.tar.gz gentoo-a702fd4e983d8dce58bdc99b14d666d8fc87309e.tar.bz2 gentoo-a702fd4e983d8dce58bdc99b14d666d8fc87309e.zip |
dev-python/cloudpickle: Bump to 3.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r-- | dev-python/cloudpickle/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-3.1.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index 77f4b21b8440..9b75a99249dc 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -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 diff --git a/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild new file mode 100644 index 000000000000..61806ec5e6c8 --- /dev/null +++ b/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild @@ -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 +} |