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 70F8A1584AD for ; Fri, 18 Apr 2025 03:11:33 +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 58AE9343066 for ; Fri, 18 Apr 2025 03:11:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B074F1104BB; Fri, 18 Apr 2025 03:11:21 +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 A5FEF1104BB for ; Fri, 18 Apr 2025 03:11:21 +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 5CE7D342FF3 for ; Fri, 18 Apr 2025 03:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70A04240A for ; Fri, 18 Apr 2025 03:11:18 +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: <1744945866.1e8e52386dae95b716e0cf850dcd7ccc68a91e6a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/frozenlist/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/frozenlist/Manifest dev-python/frozenlist/frozenlist-1.6.0.ebuild X-VCS-Directories: dev-python/frozenlist/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1e8e52386dae95b716e0cf850dcd7ccc68a91e6a X-VCS-Branch: master Date: Fri, 18 Apr 2025 03:11:18 +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: 040fcab5-da6a-4bf7-b746-e2e5c6006fa3 X-Archives-Hash: 12ced07e179ef120d1a4711d29fa2d81 commit: 1e8e52386dae95b716e0cf850dcd7ccc68a91e6a Author: Michał Górny gentoo org> AuthorDate: Fri Apr 18 02:45:37 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 18 03:11:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e8e5238 dev-python/frozenlist: Bump to 1.6.0 Signed-off-by: Michał Górny gentoo.org> dev-python/frozenlist/Manifest | 1 + dev-python/frozenlist/frozenlist-1.6.0.ebuild | 54 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest index 3353670f87ae..2a3e5f370881 100644 --- a/dev-python/frozenlist/Manifest +++ b/dev-python/frozenlist/Manifest @@ -1 +1,2 @@ DIST frozenlist-1.5.0.gh.tar.gz 46957 BLAKE2B 385b6439985256c5fd074582001a9c3d8ae82a0b839abfb3c2ff054ba3f5904d17740d7e49a17c96c571a0d8940933d292cc980c5a7bb30ae25fe88484ade185 SHA512 4486a3132038cf3eb29184bc27baab2f166078d25163da29114cb0595bd97c88848d88241cef39d42be9da5e2a99d14141d899bc5f268690c97bf38bf07c54dd +DIST frozenlist-1.6.0.gh.tar.gz 49920 BLAKE2B e7f03eb3779e048d921f8383d34d82af82828ac587378c148d9f555cf69aa1324f63fb1a53e42bc3d411a647ccd3eabf5b276a9c2ebd7af14d03245c8f4d4721 SHA512 f7e3d8741335c5ebdb3e78684c6e4a91c2f7f389134f4b869d8ea67d167472814867f14e303211045977f0d409d6b1b9478b7cfa7718af5ae9bacb49d147af58 diff --git a/dev-python/frozenlist/frozenlist-1.6.0.ebuild b/dev-python/frozenlist/frozenlist-1.6.0.ebuild new file mode 100644 index 000000000000..fec795a710ba --- /dev/null +++ b/dev-python/frozenlist/frozenlist-1.6.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +# upstream supports python3_13t +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 + +DESCRIPTION="A list-like structure which implements collections.abc.MutableSequence" +HOMEPAGE=" + https://pypi.org/project/frozenlist/ + https://github.com/aio-libs/frozenlist/ +" +SRC_URI=" + https://github.com/aio-libs/frozenlist/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_compile() { + # pypy is not using the C extension + if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then + local -x FROZENLIST_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf frozenlist || die + epytest -o addopts= +}