summaryrefslogtreecommitdiff
path: root/dev-python/multidict
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-02 17:45:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-02 17:45:32 +0000
commit5939313f229e6fcf374fb7e9ee4f8675b05ab293 (patch)
tree0a8181cbc5d052ab4d26a8e1d2dc52f126063fc6 /dev-python/multidict
parent7e3d6dcede5749fe6a1adef4e673a9dde7703b7b (diff)
gentoo auto-resync : 02:02:2024 - 17:45:32
Diffstat (limited to 'dev-python/multidict')
-rw-r--r--dev-python/multidict/Manifest2
-rw-r--r--dev-python/multidict/multidict-6.0.5.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest
index d1a148d14726..2cc6b851242e 100644
--- a/dev-python/multidict/Manifest
+++ b/dev-python/multidict/Manifest
@@ -1,3 +1,5 @@
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
EBUILD multidict-6.0.4-r1.ebuild 1126 BLAKE2B 218358792935241ed686781f7c3b33c062abc47c103b409041cfed677bda00c792725df7cb835d82398257421d1b648a4dc07bbfdeeba200c05486e362379963 SHA512 6338df4f78f65baa8f8a80d0ec0a8437c6493a70acc86de8c5045797029bb9ad972572da5f7509c95d38159138aa6b388c19067c40bcad35db6731dd40cc09ac
+EBUILD multidict-6.0.5.ebuild 1125 BLAKE2B d3e3fb7d19ecf4d00d4d0cf6df287b61a64bc2dbf3333df01ebdefff819e5d33919544721a9e6e9fbc3430e29cec0ef7ea86cc4dab7a28cae9f8702f5f0a5f60 SHA512 446db922d3e29840cb4b4890b4a63a376d22284088091a69d1a20bd2350c0bd595bc73e37afdeebf640482fd88fef3205d10f61032302690232fd3b1e6136098
MISC metadata.xml 620 BLAKE2B 7d4dcf63e1d4fdc3725be371b49bf49fc0241e16572cb83de1b8f8e6dd89b070bc723a4f62d14a723179e6e07140e2abd5411db92ed25703c9d31c34864ff4d3 SHA512 6c6abebeda31e025359b8b46840d7220fb8633cf62596da471ab3b8ce8a2f717d6b8f94dc7878a1ebe2b2efe63579ee28ad7283e37af9dd89b59ae03faa32fd2
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}"
+}