diff options
Diffstat (limited to 'dev-python/multidict')
-rw-r--r-- | dev-python/multidict/Manifest | 4 | ||||
-rw-r--r-- | dev-python/multidict/multidict-6.3.2.ebuild | 9 | ||||
-rw-r--r-- | dev-python/multidict/multidict-6.4.3.ebuild | 64 |
3 files changed, 67 insertions, 10 deletions
diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 04d0b38be23f..097823879dfb 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1,7 +1,9 @@ DIST multidict-6.1.0.gh.tar.gz 73800 BLAKE2B 9e3531633b0a35bbb8a97ec2dfe040080fe67efae3b3a16436b0984d6c3a4dc38df1cf5b91bd7b1f750f7a27bd2726667935fa30eefa7b070534fd70f390ee8a SHA512 48e97f442c28c2dfc0b5e19376ae9c8c46b20939ac4f72c07b650450286156dcbe03166f7d238d7a77b438a154022e9d98a38a4c0596aefab7d40fbdda0687dc DIST multidict-6.2.0.gh.tar.gz 82115 BLAKE2B 37b509d409278396f52e39d63b671b3b447039f2f98fa6f1b80b1ff4189105ca5a80b9027e8fcfbb95734b3c5531c1fd4a0cbfd778cdfab85ea5c127fb735717 SHA512 211dfe4900d815be1365284e18183f82f34783b777cbca929e2f8468b6748e237825febe9baa7a6d3e2a97476a8c6e061d2d7d2de94c48a2c526809224379656 DIST multidict-6.3.2.gh.tar.gz 104692 BLAKE2B 8e8ea4d8d03b41c45ba26eab12da5f7bb890b5c2e01727c9257e8caefbdc7b95f98500b16fcef5bcf23b4ac9bb48875992176214ad6fa976dbd0fb640a40f583 SHA512 aec44734a3255eefcce5f0bf037b465eb536f65860fe410f1c249042286471cee2933004a0380579a701475a63931ca6615cde85b0c840af70db87268e6e3f8a +DIST multidict-6.4.3.gh.tar.gz 106392 BLAKE2B 63ee89cc0dec98cd453aa7323bc7ddd9c705dfabe877c5982fe1ace405f3f2b666e8b668fecafdf83866c797b58e548f7d558f493ba4291e5d857725d4f8b1aa SHA512 d4c267a58c86f8cc257583dfefab77095b54124d34cea310beddfbbb58a4337154846165bd259884fb22a19ee13e02dbba6e44d5486fc6b9d96415fa582a8f36 EBUILD multidict-6.1.0.ebuild 1228 BLAKE2B 462ad43bd9151cbc4d00eba175393b40db3b744ce4557b618d5fffec82075f0437e2ea831b59a4e5901d416a4fcf3d9ed2a74d0ad47a4cdee2b78c0e9a2d0682 SHA512 24b6780b899f2dbe0c8f613b4e010849ed7fcce61911882ad8abf94e97a86b8a44497e1edbfc5c51a9c6c2e5eec1c553dd56a9911323e31d1a6a55e4919f0fd7 EBUILD multidict-6.2.0.ebuild 1294 BLAKE2B b13504004b8cb7aad138c95b3df9a863fd16e4626f51112d5b0b9009c9b57bccdd00ce45f308ee0380914d5f3db38eeebe0e498b0c76aeb743b3a3209c834899 SHA512 9a1050f1c2c0ae63ebfd8aa0cbf553b88836693ea7ae969b60a6a51da94edcf955dc019bdc37f5f743a4711f92b5cc82bc9574f51814401a74f0d045915421db -EBUILD multidict-6.3.2.ebuild 1492 BLAKE2B e0e3afd602bd4a29b36552511f2895f13e6dcd2efae96f95419c332bfdf740c71d0a0daaebf9106c911be1350fea7e79390ff60198d98771160047bbed58a6ce SHA512 5a56a9dfc3d338dff454d0c514d6477983f4e5d176cf4b9c5b1b764995de0cd2a70033f5bb6ccc13a0175c7590fef24f7889faac9e00ba655b39f727e509f9ce +EBUILD multidict-6.3.2.ebuild 1334 BLAKE2B b18a5ab2cbc441d4f00358d3acd10816ec629f01baae5b1fc69f7cad62b0f0515f2e8f3f3d8098a6fba2aaff89472a42e49497e85e265c57a6e19186cec0a404 SHA512 1822a6619c215ff57cf54978629a8974654358d1c22abfe9f59b5c2d1026e24b2f13b5c3f5cae698275428bef7bda4e0dabdaaa89c2ff15d4e077dc5328c8007 +EBUILD multidict-6.4.3.ebuild 1392 BLAKE2B 2bbb773dbbe5033763bc0b6bca3da27f0894db81d4ed39064ff84a2650d57dba60585654a1910504756260fc6360ce5f2cf073e4b43986779246d2891c21be05 SHA512 df51336f03f7dbae6c0177767c219dc3f88a3a9dd530065e8c5994ef30015c98fee4ae14b2cea28113407249c822f519aee56aa1590c40632ea566180d4c2410 MISC metadata.xml 515 BLAKE2B bb7a1e779d87592818b14d185dce7c272e9dec29a20c7c9bc8f7e1bc320ef0c2786c1de542d886763910cd58d85c01f5560e33fd7029d451958d83e709c54a8c SHA512 3735ae21a8cb596a345b86e18df433156fe3cf2b7bd56204d51abf975efd3f1e97a5d23378ea81260d74cb5c84fed2fd9efabf5f782cb335c0dd3c4ee3293ea4 diff --git a/dev-python/multidict/multidict-6.3.2.ebuild b/dev-python/multidict/multidict-6.3.2.ebuild index 0581f3ddd0c5..9bbfaae5c2a8 100644 --- a/dev-python/multidict/multidict-6.3.2.ebuild +++ b/dev-python/multidict/multidict-6.3.2.ebuild @@ -52,15 +52,6 @@ python_test() { tests/test_views_benchmarks.py ) - case ${EPYTHON} in - pypy3*) - EPYTEST_IGNORE+=( - # https://github.com/aio-libs/multidict/issues/1114 - tests/test_incorrect_args.py - ) - ;; - esac - rm -rf multidict || die local cext=--c-extensions diff --git a/dev-python/multidict/multidict-6.4.3.ebuild b/dev-python/multidict/multidict-6.4.3.ebuild new file mode 100644 index 000000000000..b59094499e05 --- /dev/null +++ b/dev-python/multidict/multidict-6.4.3.ebuild @@ -0,0 +1,64 @@ +# 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_{10..13} pypy3 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" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + ' 3.10) +" + +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 force -O3 + sed -i -e 's:"-O3"::' 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}" +} |