dev-python/multidict: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-11-20 16:58:13 +01:00
parent c9b2189299
commit e162172abb
2 changed files with 0 additions and 52 deletions

View File

@@ -1,2 +1 @@
DIST multidict-6.0.5.gh.tar.gz 72819 BLAKE2B 668b5db8174c0dbc6651eae281f777d5c1dfb59a4f4d9d5301355148bf40063e33e26844d2f8ff543ebe7b9c91cf7fffb4abd57ca6786684757f50af27b7df56 SHA512 500d3b2a139d40442462a2b49f9dd0c01631643ef9905367d8b7c472a1030437c26a042a28e11ba94058a17821628d96f19ec6ca479d5831e2f1263ff0069871
DIST multidict-6.1.0.gh.tar.gz 73800 BLAKE2B 9e3531633b0a35bbb8a97ec2dfe040080fe67efae3b3a16436b0984d6c3a4dc38df1cf5b91bd7b1f750f7a27bd2726667935fa30eefa7b070534fd70f390ee8a SHA512 48e97f442c28c2dfc0b5e19376ae9c8c46b20939ac4f72c07b650450286156dcbe03166f7d238d7a77b438a154022e9d98a38a4c0596aefab7d40fbdda0687dc

View File

@@ -1,51 +0,0 @@
# 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..13} 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 ~loong ~mips 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 pytest.ini || 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}"
}