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 0D728158087 for ; Mon, 1 Nov 2021 11:40:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D4A5E081E; Mon, 1 Nov 2021 11:40:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21609E081E for ; Mon, 1 Nov 2021 11:40:45 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 315B6342D90 for ; Mon, 1 Nov 2021 11:40:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A96CDC for ; Mon, 1 Nov 2021 11:40:42 +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: <1635766838.0a9d6e8aa0f55e60dc47672356c7ed6a680a8f22.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.2.0.ebuild dev-python/frozenlist/metadata.xml X-VCS-Directories: dev-python/frozenlist/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0a9d6e8aa0f55e60dc47672356c7ed6a680a8f22 X-VCS-Branch: master Date: Mon, 1 Nov 2021 11:40:42 +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: 7b6f6103-b1e4-4bc2-aa46-0ff75c521cb2 X-Archives-Hash: e909d252498e0d91bc1e97257dc6259f commit: 0a9d6e8aa0f55e60dc47672356c7ed6a680a8f22 Author: Michał Górny gentoo org> AuthorDate: Mon Nov 1 08:49:42 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 1 11:40:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a9d6e8a dev-python/frozenlist: New package, dep of dev-python/aiosignal Signed-off-by: Michał Górny gentoo.org> dev-python/frozenlist/Manifest | 1 + dev-python/frozenlist/frozenlist-1.2.0.ebuild | 39 +++++++++++++++++++++++++++ dev-python/frozenlist/metadata.xml | 11 ++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest new file mode 100644 index 00000000000..bf51b5a4078 --- /dev/null +++ b/dev-python/frozenlist/Manifest @@ -0,0 +1 @@ +DIST frozenlist-1.2.0.gh.tar.gz 29062 BLAKE2B cc82db759906ad3e0be1806cacd6815377f264ed07ed272abb7da4753c11561564cf1cb4dfc0154abaeb4005f5607c26e602410a4ef45dd8e94e26583caa2ab7 SHA512 e5dda13e173db0b1c6e8c5a61949534f4eb30211cc4fcd102d0be1b55ee48e2db90d52fd770a2c6d6076f3a0d9e11289629a7a115c1270377636eda35d107e7a diff --git a/dev-python/frozenlist/frozenlist-1.2.0.ebuild b/dev-python/frozenlist/frozenlist-1.2.0.ebuild new file mode 100644 index 00000000000..ba892fcc5c1 --- /dev/null +++ b/dev-python/frozenlist/frozenlist-1.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +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="~amd64" + +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*')" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pytest.ini || die + distutils-r1_src_prepare +} + +python_configure() { + # pypy is not using the C extension + if [[ ${EPYTHON} == python* ]]; then + > .install-cython || die + emake cythonize + fi +} diff --git a/dev-python/frozenlist/metadata.xml b/dev-python/frozenlist/metadata.xml new file mode 100644 index 00000000000..c3f806ae650 --- /dev/null +++ b/dev-python/frozenlist/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + frozenlist + aio-libs/frozenlist + +