commit:     a858b8d2c22fb4f7bf45c22f7e70e594e5279df8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 02:14:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct  7 02:32:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a858b8d2

dev-python/multidict: Bump to 6.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/multidict/Manifest               |  1 +
 dev-python/multidict/multidict-6.7.0.ebuild | 65 +++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest
index f0d4694243c3..60eaca79ba96 100644
--- a/dev-python/multidict/Manifest
+++ b/dev-python/multidict/Manifest
@@ -1 +1,2 @@
 DIST multidict-6.6.4.gh.tar.gz 119837 BLAKE2B 
e60c6195f1bab3916179abe5b509255ac7743d24554a0ea12be9a37f6dbceacdc8e839c2204b3f8499d442a1e54c02de0f36848c67a3fd1b2f996b632ddde483
 SHA512 
02a6dc8c1dac331251a5a0a04f2c00dab60a524bd4ee1a8923b3747f1dd3d75639952e32b49a2a46f94aa1ff95220503b22cb24c9252a5458d2c7346bd02faac
+DIST multidict-6.7.0.gh.tar.gz 119807 BLAKE2B 
53d642e7ad4471979ecb1aa60574935aa50d8032126f4956d6c4b27a9076290f7b8254609c758b1124d70ed32249cc463bcf55380f7421f5d640fdcbca4d6122
 SHA512 
6268acb9fc6efa1dc0adcaae06e61c5d6b9342fd654efc142116eee3acbd4d337e1c721cfeaa0a653241f0c2d9839cc8e55aa7531776c062c7c0c0c785db6be9

diff --git a/dev-python/multidict/multidict-6.7.0.ebuild 
b/dev-python/multidict/multidict-6.7.0.ebuild
new file mode 100644
index 000000000000..83f8f4fb737a
--- /dev/null
+++ b/dev-python/multidict/multidict-6.7.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 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_{11..14} python3_{13,14}t pypy3_11 )
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~x64-macos"
+IUSE="+native-extensions"
+
+BDEPEND="
+       test? (
+               dev-python/objgraph[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # don't enable coverage or other pytest settings
+       sed -i -e '/cov/d' pytest.ini || die
+       # don't mangle CFLAGS
+       sed -i -e 's/^CFLAGS = .*/CFLAGS = []/' setup.py || 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() {
+       local EPYTEST_IGNORE=(
+               tests/test_multidict_benchmarks.py
+               tests/test_views_benchmarks.py
+       )
+
+       rm -rf multidict || die
+
+       local cext=--c-extensions
+       if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then
+               cext=--no-c-extensions
+       fi
+       epytest "${cext}"
+}

Reply via email to