From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1596646-garchives=archives.gentoo.org@lists.gentoo.org> 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 C94DF15815E for <garchives@archives.gentoo.org>; Fri, 2 Feb 2024 13:24:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1862AE29DD; Fri, 2 Feb 2024 13:24:38 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC7CFE29DD for <gentoo-commits@lists.gentoo.org>; Fri, 2 Feb 2024 13:24:37 +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 143A43431CE for <gentoo-commits@lists.gentoo.org>; Fri, 2 Feb 2024 13:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A45E814C3 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Feb 2024 13:24:35 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1706880264.de6544624844983b337c6b0f48e879a920e298ec.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/multidict/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/multidict/Manifest dev-python/multidict/multidict-6.0.5.ebuild X-VCS-Directories: dev-python/multidict/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: de6544624844983b337c6b0f48e879a920e298ec X-VCS-Branch: master Date: Fri, 2 Feb 2024 13:24:35 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97392413-b28e-49db-83ff-955d3616b6c3 X-Archives-Hash: 9d0c9236d352b59f7d3fe32780d08b9c commit: de6544624844983b337c6b0f48e879a920e298ec Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 2 11:57:18 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 2 13:24:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de654462 dev-python/multidict: Bump to 6.0.5 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/multidict/Manifest | 1 + dev-python/multidict/multidict-6.0.5.ebuild | 51 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 6d6f69be66b9..20db56eeb9ba 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1 +1,2 @@ DIST multidict-6.0.4.gh.tar.gz 58931 BLAKE2B 2cf25ac2af57289432dfc6617f35a9f1310469b8d7b6a762e63f4f08b3cb8235c7115c4072fc2ffeec417b49af8a97654c7d69e8e20507fd553fab074e42b1cf SHA512 6f9e6ff16a104d40b0cb59860af9cb1a98e8d3a256626f77600c4895e6ef692b31880273f204e7ecdeb574407dd7c2e4326ad7cd9c08b1095011d6ba3793b86e +DIST multidict-6.0.5.gh.tar.gz 72819 BLAKE2B 668b5db8174c0dbc6651eae281f777d5c1dfb59a4f4d9d5301355148bf40063e33e26844d2f8ff543ebe7b9c91cf7fffb4abd57ca6786684757f50af27b7df56 SHA512 500d3b2a139d40442462a2b49f9dd0c01631643ef9905367d8b7c472a1030437c26a042a28e11ba94058a17821628d96f19ec6ca479d5831e2f1263ff0069871 diff --git a/dev-python/multidict/multidict-6.0.5.ebuild b/dev-python/multidict/multidict-6.0.5.ebuild new file mode 100644 index 000000000000..179ce2a262b8 --- /dev/null +++ b/dev-python/multidict/multidict-6.0.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE=" + https://github.com/aio-libs/multidict/ + https://pypi.org/project/multidict/ +" +SRC_URI=" + https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e '/cov/d' pyproject.toml || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! use native-extensions || [[ ${EPYTHON} == pypy3 ]]; then + local -x MULTIDICT_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf multidict || die + + local cext=--c-extensions + if ! use native-extensions || [[ ${EPYTHON} == pypy3 ]]; then + cext=--no-c-extensions + fi + epytest "${cext}" +}