mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/propcache: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST propcache-0.3.0.tar.gz 42722 BLAKE2B 2687c2f03464b0e81c1d3e93a0b8a11364e4b03f5614de44ea89ca401867531079c1456cc97831f9c8e885dbacca8c9dbeb30e0a31b121a2aaa3666b0397ddf0 SHA512 258e2e9e6fff5c3af62d21d0afc43026e87b8c94009db9534f8beff6d81873ab05ea626c36e43ab1ee16dea1b18dde2ec732b78b93cac82cb9c1d0438e544b42
|
||||
DIST propcache-0.3.1.tar.gz 43651 BLAKE2B dbbd70f29c3b4d7ed9a976e0dde766f7ecc0b4e50f90d0d83c60c8633ebadd25dae8e01ce2cd0f8c00d0fae67a35316bc165f5c6e116cbbe290e2371d1e79f47 SHA512 c109678adc26193d972906d923abbfe7ddeb02829fa3adb82d28988b56497a9e8126ce7186f1b0414ca6e6aba6baaddadcefdf19f7e24fbe5831e2f8da06473e
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Yet another URL library"
|
||||
HOMEPAGE="
|
||||
https://github.com/aio-libs/propcache/
|
||||
https://pypi.org/project/propcache/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="+native-extensions"
|
||||
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/expandvars[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
local -x PROPCACHE_NO_EXTENSIONS=0
|
||||
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
|
||||
PROPCACHE_NO_EXTENSIONS=1
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/test_benchmarks.py
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local opts=()
|
||||
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
|
||||
opts+=( --no-c-extensions )
|
||||
fi
|
||||
|
||||
rm -rf propcache || die
|
||||
epytest -o addopts= "${opts[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user