dev-python/propcache: Bump to 0.4.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-09 04:31:18 +02:00
parent 92398d4e25
commit 3ae4d19e93
2 changed files with 55 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST propcache-0.3.2.tar.gz 44139 BLAKE2B ace9070dbfceb08fcef26f01f9aab291982a3f99f1f035fb113d539a613eeeb2b69b36b197c21d733b0a4b5d73cc22180aa6aca9f3a220dbd3cd471dc57d0ee4 SHA512 d85a89dd1d34936578eb05a869e0ec07679d477c716aa047bbda00688a2926fd8a1f712c9ddec3de38faa49762941120df12ebe88dc36278f20d84ee796b91fe
DIST propcache-0.4.0.tar.gz 45187 BLAKE2B 59d7311251420adb5da60842756ebf889d428f1a551488d9d580c0db74ad2b50389085a075852d12255175ce6736f4becfffef8d28046bb94aff51f9942d4a45 SHA512 883ba1851c8248e49ea1c4b697c06e12754d980c6ff9765350b124ed914385ce70bd061616db35a7fcb235957ac1cecad132ec51fac20e59e90c4cd65306085b
DIST propcache-0.4.1.tar.gz 46442 BLAKE2B ff554a2dfd9c4944ab5b16c516510eb33b78b09729d271487bd85994f5c7695b7bcb274becdcab601b771b4c75267dd0dde1acaf4afdac9683bd3ee4ff225af2 SHA512 10342a0e64107eea991fe163901e02537304225fca4a0e9c62d1f5dd0077e3eac6a892e6cd2dffe943d52ba121fb603e2150e1aa63deb0cd5003083310a07070

View File

@@ -0,0 +1,54 @@
# 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_{11..14} python3_{13,14}t 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}]
"
EPYTEST_PLUGINS=()
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 opts=()
if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then
opts+=( --no-c-extensions )
fi
rm -rf propcache || die
epytest -o addopts= "${opts[@]}"
}