From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E26EB1584AD for ; Wed, 16 Apr 2025 01:55:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B2104343112 for ; Wed, 16 Apr 2025 01:55:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2970A1104B9; Wed, 16 Apr 2025 01:55:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1FF441104B9 for ; Wed, 16 Apr 2025 01:55:31 +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 C2353342FAB for ; Wed, 16 Apr 2025 01:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C65B2699 for ; Wed, 16 Apr 2025 01:55:29 +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: <1744768519.905cc1f0c3ae13c26fba3a084d7e82b40828f869.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/greenlet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/greenlet/Manifest dev-python/greenlet/greenlet-3.2.0.ebuild X-VCS-Directories: dev-python/greenlet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 905cc1f0c3ae13c26fba3a084d7e82b40828f869 X-VCS-Branch: master Date: Wed, 16 Apr 2025 01:55:29 +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: d0a0e3d3-e177-4bde-85a5-0a8e5ab86f77 X-Archives-Hash: e84b874103b687477811f69cc48b91be commit: 905cc1f0c3ae13c26fba3a084d7e82b40828f869 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 16 01:44:02 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 16 01:55:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=905cc1f0 dev-python/greenlet: Bump to 3.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-3.2.0.ebuild | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 76df4ed386a1..8276307d19e8 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-3.1.1.tar.gz 186022 BLAKE2B 1d73f63d3bf881534bd64eca6510f32d1596261bd42176d396c7a0442494c73f8b03e57621bd11fc1bc67db550514c26a94926eaba8c53e08eecb3f999c9ba16 SHA512 915a6e22c20b235de472c61c7bc4cb60a08b79e29127c4fb817c362cee37f589bc362f12ed31bdc7dda91f49976d4e2784c8d13202bf598156a0aacacdb7f6fb +DIST greenlet-3.2.0.tar.gz 183685 BLAKE2B d750f9f0639003448b95cc0db5046617da0d9c40976c851d4f23f5e26f54fba29da6867304d7569ea171d497047442e85c35aeedd479cdcc8d57af51fd5a76ed SHA512 0a13142bbb9b043a8b6047fdb182b1091dfc8c6da517092ab382b6ae42fbc8d5e4b9d8593d353d1c95dbf7337aa1e4cc946c2638e50e49af4813aee94b07d214 diff --git a/dev-python/greenlet/greenlet-3.2.0.ebuild b/dev-python/greenlet/greenlet-3.2.0.ebuild new file mode 100644 index 000000000000..07cae82829be --- /dev/null +++ b/dev-python/greenlet/greenlet-3.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE=" + https://greenlet.readthedocs.io/en/latest/ + https://github.com/python-greenlet/greenlet/ + https://pypi.org/project/greenlet/ +" + +LICENSE="MIT PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/furo +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # patch cflag manipulations out + sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die + # broken assertions on py3.12+ + # https://github.com/python-greenlet/greenlet/issues/368 + sed -e 's:test_trace_events_multiple_greenlets_switching:_&: ' \ + -i src/greenlet/tests/test_tracing.py || die +} + +python_test() { + eunittest greenlet.tests +}