mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/iniparse: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
821886681f
commit
c11fbeacd4
@ -4,7 +4,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@ -33,10 +33,18 @@ BDEPEND="
|
|||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCHES=(
|
src_prepare() {
|
||||||
# https://github.com/candlepin/python-iniparse/pull/29
|
local PATCHES=(
|
||||||
"${FILESDIR}/${P}-py3.11.7.patch"
|
# https://github.com/candlepin/python-iniparse/pull/29
|
||||||
)
|
"${FILESDIR}/${P}-py3.11.7.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
|
||||||
|
# https://src.fedoraproject.org/rpms/python-iniparse/blob/rawhide/f/python-iniparse.spec
|
||||||
|
sed -e "s/unittest.makeSuite(\(.*\), 'test')/unittest.defaultTestLoader.loadTestsFromTestCase(\1)/g" \
|
||||||
|
-i tests/test*.py || die
|
||||||
|
}
|
||||||
|
|
||||||
python_test() {
|
python_test() {
|
||||||
"${EPYTHON}" runtests.py -v || die
|
"${EPYTHON}" runtests.py -v || die
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user