Builds and passes the full test suite (2005 passed, 1 skipped) under python3.15, with the C tokenizer accelerator active. All build/test deps (setuptools, setuptools-scm, pytest) already support python3_15. Signed-off-by: Zakk <zakk@gentoozh.org>
25 lines
611 B
Bash
25 lines
611 B
Bash
# Copyright 2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{11..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}
|
|
|
|
distutils_enable_tests pytest
|