summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cysignals/cysignals-1.11.4.ebuild29
1 files 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
}