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 52929158013 for ; Sat, 9 Dec 2023 06:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E7672BC029; Sat, 9 Dec 2023 06:53:06 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BE722BC029 for ; Sat, 9 Dec 2023 06:53:06 +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 76F743407E6 for ; Sat, 9 Dec 2023 06:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 968ED1495 for ; Sat, 9 Dec 2023 06:53:02 +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: <1702103298.04cd14b394eceaf36304cbba5e6ea02d459c8f41.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.0.2.ebuild X-VCS-Directories: dev-python/greenlet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 04cd14b394eceaf36304cbba5e6ea02d459c8f41 X-VCS-Branch: master Date: Sat, 9 Dec 2023 06:53:02 +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: 36a17de7-eb39-4995-9972-fae52d492773 X-Archives-Hash: 2fb99f74933797f0f8837a2bf4dd5628 commit: 04cd14b394eceaf36304cbba5e6ea02d459c8f41 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 9 06:14:23 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 9 06:28:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cd14b3 dev-python/greenlet: Bump to 3.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-3.0.2.ebuild | 43 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 7af0a71221bb..eb76032c034f 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,3 +1,4 @@ DIST greenlet-2.0.2.tar.gz 164980 BLAKE2B 1afa8390e96d7eeafd84a4323a4eb9e4b2cad50a3e6654b1609702a5a74dfb5dadc7a1ff81cc8e7718d0587728c2ec944069db8241f1aa0723d2f98e6911ddb6 SHA512 03d0b2764c52524c97930a7bd856a432360a96ddbe3d1f2352ec49750994e6811fd28378f83b96cac91520234d0a6e9e56232ff688c71ff57f6340d3d182635b DIST greenlet-3.0.0.tar.gz 174704 BLAKE2B d2bcb1760091434369032e26923a18c158b4d58b852f8db5c4f1a41e141723048553366879662760ca0390ee8b438e1b4c9df0fc4f2ea7f3bf25afa41d434a28 SHA512 422f6b525acbe9909fe8103635ecd83485ec753cc879c2e5c194ba0f35161412331cc00bc29c1221c69101feb84604737b215b2f3edbc397f7fada05c6fec20c DIST greenlet-3.0.1.tar.gz 174825 BLAKE2B a2c210ec558772aa0ade9255fa7b149e69cde3cb210cfdea3c1977377a80c0a535dac53306a1eb1c08f247b0da5205aa56b64d6564646572199ef6af0c4817ab SHA512 67d74352802331642eba0917550a75e9bc2a7d223bc0ce4ee7993d05197b4d0650813439e7c495baf2309303740cd21e60a157e634aafff470332a685603ffec +DIST greenlet-3.0.2.tar.gz 175506 BLAKE2B 46064ca54c43b513b274a91b56744afd7fabe7659416938efe11337c5e031dadae2e0ca275df7731180dad799eab5b0c0dfa15d17e977c278a88f698328e57cf SHA512 901e1a918017878b150c845a180ed366f35dbb9d89b155df1dad4e2ee581c4a327ffad9d17ab221172ca151cd460521a7dca48b3ee64a33bf2e442949a30ecb3 diff --git a/dev-python/greenlet/greenlet-3.0.2.ebuild b/dev-python/greenlet/greenlet-3.0.2.ebuild new file mode 100644 index 000000000000..2f57c793a5af --- /dev/null +++ b/dev-python/greenlet/greenlet-3.0.2.ebuild @@ -0,0 +1,43 @@ +# 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 +# py3.12: https://github.com/python-greenlet/greenlet/issues/368 +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 +}