commit: 7e01ef6d45b9c23d24456a9f2d92688f0de9d52f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 6 10:28:23 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 6 11:18:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e01ef6d
dev-python/cysignals: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cysignals/cysignals-1.11.4.ebuild | 29 +++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/dev-python/cysignals/cysignals-1.11.4.ebuild
b/dev-python/cysignals/cysignals-1.11.4.ebuild
index 8adad553bbb2..6e68c71bcc4b 100644
--- a/dev-python/cysignals/cysignals-1.11.4.ebuild
+++ b/dev-python/cysignals/cysignals-1.11.4.ebuild
@@ -1,17 +1,19 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Interrupt and signal handling for Cython"
-HOMEPAGE="https://pypi.org/project/cysignals/
- https://github.com/sagemath/cysignals"
+HOMEPAGE="
+ https://github.com/sagemath/cysignals/
+ https://pypi.org/project/cysignals/
+"
# setup.py has "or later"
LICENSE="LGPL-3+"
@@ -19,12 +21,17 @@ SLOT="0"
KEYWORDS="amd64"
IUSE=""
-DEPEND="sci-mathematics/pari:="
-RDEPEND="${DEPEND}"
-BDEPEND=">=dev-python/cython-3.0.0[${PYTHON_USEDEP}]"
+DEPEND="
+ sci-mathematics/pari:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ >=dev-python/cython-3.0.0[${PYTHON_USEDEP}]
+"
python_test(){
- PATH="${BUILD_DIR}/scripts:${PATH}" \
- "${EPYTHON}" -B "${S}"/rundoctests.py \
- "${S}"/src/cysignals/*.pyx || die
+ local -x PATH="${BUILD_DIR}/scripts:${PATH}"
+ "${EPYTHON}" -B rundoctests.py src/cysignals/*.pyx || die
}