From 4fb2e25eb3fec9f91048c6509e5caa8f7de5bd22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 27 Oct 2023 20:24:38 +0200 Subject: [PATCH] dev-python/vecrec: Enable py3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/vecrec/vecrec-0.3.1-r1.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild index d47d6a69f6e76..595c6bd2e9fc1 100644 --- a/dev-python/vecrec/vecrec-0.3.1-r1.ebuild +++ b/dev-python/vecrec/vecrec-0.3.1-r1.ebuild @@ -4,29 +4,32 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi DESCRIPTION="2D vector and rectangle classes" -HOMEPAGE="https://github.com/kxgames/vecrec - https://pypi.org/project/vecrec/" +HOMEPAGE=" + https://github.com/kxgames/vecrec/ + https://pypi.org/project/vecrec/ +" LICENSE="MIT" KEYWORDS="~amd64" SLOT="0" -RDEPEND="dev-python/autoprop[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/autoprop[${PYTHON_USEDEP}] +" distutils_enable_tests pytest src_prepare() { - sed -e '/addopts/d' -i tests/pytest.ini || die sed -e '/build-backend/s/flit.buildapi/flit_core.buildapi/' \ -e '/requires/s/flit/flit_core/' -i pyproject.toml || die distutils-r1_src_prepare } python_test() { - epytest tests + epytest -o addopts= tests }