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 A7EE9158003 for ; Wed, 11 Sep 2024 03:09:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6243E29EB; Wed, 11 Sep 2024 03:09:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id C1BD3E29EB for ; Wed, 11 Sep 2024 03:09:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12706340C20 for ; Wed, 11 Sep 2024 03:09:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B2151F47 for ; Wed, 11 Sep 2024 03:09:53 +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: <1726024188.e1eb4458c2f89db12d8ba4c8effab5a3fc9fa321.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.1.0.ebuild X-VCS-Directories: dev-python/greenlet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e1eb4458c2f89db12d8ba4c8effab5a3fc9fa321 X-VCS-Branch: master Date: Wed, 11 Sep 2024 03:09:53 +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: b2e56c1f-b477-4d0f-9caf-2e13c89ef9a5 X-Archives-Hash: a03b9d3d22da98599681072f3d9bb8b3 commit: e1eb4458c2f89db12d8ba4c8effab5a3fc9fa321 Author: Michał Górny gentoo org> AuthorDate: Wed Sep 11 03:06:28 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Sep 11 03:09:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1eb4458 dev-python/greenlet: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-3.1.0.ebuild | 48 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 5cd84aac0f1e..3c3a5bd50f17 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-3.0.3.tar.gz 182013 BLAKE2B 34ba9f13dd01f5bacedb69952b4d3d08e55eba82d94c5d95cf8bfeb0f1ce94dbde9d62f5e56c33cbf2467d82f6ffd8d05a37048d0292102b1dbb68c67e9398f4 SHA512 20d8818376a200332cbc2c85968317ddf828d2adf3fcc3c53623cd1504ec9a4e4e987e841bd2fe65e934e2b8a5e73a7205847526f0bd196e7afcdf3ae40e9d9b +DIST greenlet-3.1.0.tar.gz 183954 BLAKE2B 30bc17bd449cbffba5a4a3b988de86c14335a6fc2311626f6f295f2c1434070ce3b9118341e328bc9a70904a3f6da6b527c28b0494371f58b50251db593f3ba4 SHA512 2c0d97848757e6346933426e3f6feb18120b3a63695a746acddbb467e01503174c46aea9b62e7507e8700f3450581ff2460f45700331368333977abebeb805eb diff --git a/dev-python/greenlet/greenlet-3.1.0.ebuild b/dev-python/greenlet/greenlet-3.1.0.ebuild new file mode 100644 index 000000000000..1c39226c825e --- /dev/null +++ b/dev-python/greenlet/greenlet-3.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 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" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +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 +}