From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9796D158089 for ; Mon, 16 Oct 2023 13:56:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BABC2BC016; Mon, 16 Oct 2023 13:56:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20FDC2BC016 for ; Mon, 16 Oct 2023 13:56:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23935335D1B for ; Mon, 16 Oct 2023 13:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94E6B921 for ; Mon, 16 Oct 2023 13:56:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1697464568.5e2bff549ec69b8d2554afd52a32eed8bf7fce7a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cloudpickle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cloudpickle/Manifest dev-python/cloudpickle/cloudpickle-3.0.0.ebuild X-VCS-Directories: dev-python/cloudpickle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5e2bff549ec69b8d2554afd52a32eed8bf7fce7a X-VCS-Branch: master Date: Mon, 16 Oct 2023 13:56:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bddfe930-bf44-4435-9b54-ceab3dd5a485 X-Archives-Hash: f8baf3c4a1be982fcc9bd1bd9e02fbcf commit: 5e2bff549ec69b8d2554afd52a32eed8bf7fce7a Author: Michał Górny gentoo org> AuthorDate: Mon Oct 16 13:43:32 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Oct 16 13:56:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2bff54 dev-python/cloudpickle: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/cloudpickle/Manifest | 1 + dev-python/cloudpickle/cloudpickle-3.0.0.ebuild | 38 +++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index fbcc6c1caa96..ca661b2acf15 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1 +1,2 @@ DIST cloudpickle-2.2.1.tar.gz 60800 BLAKE2B a89fb7b53665ddb328235d00f6b7a311815d740eedfef65552c6b782bc8339ed96bcca98eb28ff1dd6205270a44c90de22acd47df9304c11644bbf0956ff3e25 SHA512 a0174a382d531180704a90a4da4f83e1d1c90ebf4ad181778bed073763bf43104b7049ced12abc360948343d105a4390cb514585a1b493217a53a5b2c45cfde6 +DIST cloudpickle-3.0.0.gh.tar.gz 59519 BLAKE2B 6d5c7b98990bb4d59ffc4e75efe109814430c8b73753d630b169ce0c455e5d5105782a314d4921b5051d458758980c954b8a84cf79a9534c9a382a8066d03c27 SHA512 e091cc0de2489c06e020fac2852d25f7fd832036a2b2c4c34f0cda0c642a1c65413fc0f21dc51fec75803e7c7da37f26f613620150acd9ab4aa2bb7b1eaabb79 diff --git a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild new file mode 100644 index 000000000000..a6afca0f935c --- /dev/null +++ b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~ia64 ~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 PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg + # -s unbreaks some tests + # https://github.com/cloudpipe/cloudpickle/issues/252 + epytest -s +}