python3_11 no longer resolves for packages depending on dev-python/requests, which dropped it. Raise the PYTHON_COMPAT floor to python3_12 across every package in the overlay that still allowed python3_11, keeping the python3_14 profile default (ceiling raised to python3_14 where it was lower). python3_15 is only kept where it was already declared and verified on 3.15 (mwparserfromhell: builds and tests pass); it is not added elsewhere, since python3.15 is not installed here and could not be build-tested. Bug: https://github.com/gentoo-zh/overlay/issues/11037
28 lines
647 B
Bash
28 lines
647 B
Bash
# Copyright 2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
DISTUTILS_EXT=1
|
|
PYTHON_COMPAT=( python3_{12..15} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Python parser for MediaWiki wikicode"
|
|
HOMEPAGE="https://github.com/earwig/mwparserfromhell"
|
|
SRC_URI="https://github.com/earwig/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
|
|
BDEPEND="
|
|
$(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
|
|
"
|
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
|
|
|
EPYTEST_PLUGINS=()
|
|
|
|
distutils_enable_tests pytest
|