diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
commit | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch) | |
tree | dbbe26e892147b95a24336cc44d791dbe0c0ce5f /dev-python/cloudpickle | |
parent | 37a097af13d675b83911ac006ee9ee22d2163f9a (diff) |
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r-- | dev-python/cloudpickle/Manifest | 5 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-3.0.0.ebuild | 44 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-3.1.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch | 32 |
4 files changed, 2 insertions, 81 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index d424993a0bbc..98fa8c93ebfe 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1,6 +1,3 @@ -AUX cloudpickle-3.0.0-py313.patch 1225 BLAKE2B 59400a08fa7db0943989fce0039cc9707f107660c9e1fab0bd698459c215e3e50725fdd3f9b00f8a879c0e1a63de2a4c7edc1bde2fd467f1f957c76cc3f54dd8 SHA512 eb7c8094320fb6e27cd6df77b4224c460c481b9b6e2b7046c84f171b1074e1e4ff4d1b29deeaf27b7bd0e2be12254fcbeeb6609dd5449d9bc66371f21cbc64c6 -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 -EBUILD cloudpickle-3.0.0.ebuild 1024 BLAKE2B 4c63cc4dea5ceb0197c65de8f28c036606d76c062cd82404ac10d117c08b4bbd0f61fd2d14ccef7add700415af3f563062d7a82b66589cc282baf0f1a883f606 SHA512 a7f4be46b660702a9edca8f2e27376bb758b80b891a11acedc7df1100902cec7c2fce218ffb9214fc8ea762cecd8c6624b9085ebf16d871bb824c0d565e13235 -EBUILD cloudpickle-3.1.0.ebuild 946 BLAKE2B 3a67cfe26b05943cb2445018a92d8e678299ff1f7412dd33b9138109be4a3c1f423809242ad8cae158ed298cb9d6bde0f44fdf273e4034a4ff2a45db163830dc SHA512 30b18cfa494894b6751610889d1030037e1001146179c20313a734b0a749b319e538b22459c38507866beec9282b3e7e169bba634d2435edd3f7ff08bb86419d +EBUILD cloudpickle-3.1.0.ebuild 938 BLAKE2B 2154d905898f0b6787ab82f5e65d0da57cceccd56fd65ca9ee84747ab7f7b79a4c025a9b0d1ba245fcfa1cad1ff54dce8a1528bc610cd95bd61f3aa45aba41a9 SHA512 f34bfd419436e9be5dfad1d20bdab37ad00ad46f8ed248e2c191c747eb5348849ba06b8a1accc72a5d682c36b2590c753c599f60fac372f8bdf1575c2957955a MISC metadata.xml 400 BLAKE2B 6b8036e6fee459cd45ff48884ade7ba9471d948ff06e46062584e5953fdaea8197525ec02e2dc44d4daa6326c7a1859680340e616f27d72ea1d98fe5c011a5cd SHA512 70c88c748d18923d3205c9f2ebc683e6b73240d4f8215f1bf3c3c91bb5eaac259066dc735f10806c43375432df581545831c616ab3aa7218981193956e6c0450 diff --git a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild deleted file mode 100644 index 24187b1ba770..000000000000 --- a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# 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 - -PATCHES=( - # https://github.com/cloudpipe/cloudpickle/pull/534 - "${FILESDIR}/${P}-py313.patch" -) - -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 -} diff --git a/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild index 7a27706ab61b..41e2a677da08 100644 --- a/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild +++ b/dev-python/cloudpickle/cloudpickle-3.1.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" 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" +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? ( diff --git a/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch b/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch deleted file mode 100644 index 5b9655b82716..000000000000 --- a/dev-python/cloudpickle/files/cloudpickle-3.0.0-py313.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 3dc53183e86bb9f0ee9d45ff9d4971036c61ecba Mon Sep 17 00:00:00 2001 -From: Lumir Balhar <lbalhar@redhat.com> -Date: Wed, 15 May 2024 10:43:50 +0200 -Subject: [PATCH] Fix test_extract_class_dict for Python 3.13 beta 1 - -Resolves: https://github.com/cloudpipe/cloudpickle/issues/533 -Closes: https://github.com/cloudpipe/cloudpickle/pull/534 ---- - tests/cloudpickle_test.py | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tests/cloudpickle_test.py b/tests/cloudpickle_test.py -index 4041bf7..6d0d915 100644 ---- a/tests/cloudpickle_test.py -+++ b/tests/cloudpickle_test.py -@@ -108,7 +108,12 @@ def test_extract_class_dict(): - return "c" - - clsdict = _extract_class_dict(C) -- assert sorted(clsdict.keys()) == ["C_CONSTANT", "__doc__", "method_c"] -+ expected_keys = ["C_CONSTANT", "__doc__", "method_c"] -+ # New attribute in Python 3.13 beta 1 -+ # https://github.com/python/cpython/pull/118475 -+ if sys.version_info >= (3, 13): -+ expected_keys.insert(2, "__firstlineno__") -+ assert sorted(clsdict.keys()) == expected_keys - assert clsdict["C_CONSTANT"] == 43 - assert clsdict["__doc__"] is None - assert clsdict["method_c"](C()) == C().method_c() --- -2.45.2 - |