diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-07 11:20:54 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-07 11:30:12 +0200 |
commit | 2e66ab471e9a94582791876c08124cd967970736 (patch) | |
tree | e909be0d6359c4f77895cab77e24a4445fa4257c /dev-python/greenlet | |
parent | sys-devel/rust-std: enable py3.12 (diff) | |
download | gentoo-2e66ab471e9a94582791876c08124cd967970736.tar.gz gentoo-2e66ab471e9a94582791876c08124cd967970736.tar.bz2 gentoo-2e66ab471e9a94582791876c08124cd967970736.zip |
dev-python/greenlet: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r-- | dev-python/greenlet/Manifest | 1 | ||||
-rw-r--r-- | dev-python/greenlet/greenlet-3.0.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index c80e9134ef0c..37f3fd27bad3 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1 +1,2 @@ DIST greenlet-2.0.2.tar.gz 164980 BLAKE2B 1afa8390e96d7eeafd84a4323a4eb9e4b2cad50a3e6654b1609702a5a74dfb5dadc7a1ff81cc8e7718d0587728c2ec944069db8241f1aa0723d2f98e6911ddb6 SHA512 03d0b2764c52524c97930a7bd856a432360a96ddbe3d1f2352ec49750994e6811fd28378f83b96cac91520234d0a6e9e56232ff688c71ff57f6340d3d182635b +DIST greenlet-3.0.0.tar.gz 174704 BLAKE2B d2bcb1760091434369032e26923a18c158b4d58b852f8db5c4f1a41e141723048553366879662760ca0390ee8b438e1b4c9df0fc4f2ea7f3bf25afa41d434a28 SHA512 422f6b525acbe9909fe8103635ecd83485ec753cc879c2e5c194ba0f35161412331cc00bc29c1221c69101feb84604737b215b2f3edbc397f7fada05c6fec20c diff --git a/dev-python/greenlet/greenlet-3.0.0.ebuild b/dev-python/greenlet/greenlet-3.0.0.ebuild new file mode 100644 index 000000000000..159e76097dff --- /dev/null +++ b/dev-python/greenlet/greenlet-3.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 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..11} ) + +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 ~mips ~ppc ~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 +distutils_enable_tests unittest + +src_prepare() { + # patch cflag manipulations out + sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + eunittest greenlet.tests +} |