dev-python/greenlet: Bump to 3.2.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-04-23 07:10:36 +02:00
parent f52239b6bd
commit 8ef0da0922
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST greenlet-3.1.1.tar.gz 186022 BLAKE2B 1d73f63d3bf881534bd64eca6510f32d1596261bd42176d396c7a0442494c73f8b03e57621bd11fc1bc67db550514c26a94926eaba8c53e08eecb3f999c9ba16 SHA512 915a6e22c20b235de472c61c7bc4cb60a08b79e29127c4fb817c362cee37f589bc362f12ed31bdc7dda91f49976d4e2784c8d13202bf598156a0aacacdb7f6fb
DIST greenlet-3.2.0.tar.gz 183685 BLAKE2B d750f9f0639003448b95cc0db5046617da0d9c40976c851d4f23f5e26f54fba29da6867304d7569ea171d497047442e85c35aeedd479cdcc8d57af51fd5a76ed SHA512 0a13142bbb9b043a8b6047fdb182b1091dfc8c6da517092ab382b6ae42fbc8d5e4b9d8593d353d1c95dbf7337aa1e4cc946c2638e50e49af4813aee94b07d214
DIST greenlet-3.2.1.tar.gz 184475 BLAKE2B ff36fafef74ff1c0d9a9c2f5929017afe7f083d31830aebf4f068c84df7312352cd43f9ba1d42b4562921b869df3afd8210d71f318bf2f8f6f7ea441d934ae04 SHA512 75fd697d0bde99c60d4c741c61c1010e2bae659e93661e8ea37f6683c1223422a7f862aa770b80bc3299593a9791ec515fd31797fd36216ed784f4e2f4103420

View File

@ -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
}