summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-28 16:57:41 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-28 17:11:50 +0200
commit53fa2f3b204ef0dad3ecbf08b482e432123d616f (patch)
tree76d008952fc5df37b398df02180198ed0dbb163f /dev-python/cftime
parentdev-python/cheetah3: Enable py3.12 (diff)
downloadgentoo-53fa2f3b204ef0dad3ecbf08b482e432123d616f.tar.gz
gentoo-53fa2f3b204ef0dad3ecbf08b482e432123d616f.tar.bz2
gentoo-53fa2f3b204ef0dad3ecbf08b482e432123d616f.zip
dev-python/cftime: Require cython<3
Bug: https://bugs.gentoo.org/898668 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cftime')
-rw-r--r--dev-python/cftime/cftime-1.6.2.ebuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/cftime/cftime-1.6.2.ebuild b/dev-python/cftime/cftime-1.6.2.ebuild
index 46555dcf6f17..9a674220dbc7 100644
--- a/dev-python/cftime/cftime-1.6.2.ebuild
+++ b/dev-python/cftime/cftime-1.6.2.ebuild
@@ -5,20 +5,29 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="Time-handling functionality from netcdf4-python"
-HOMEPAGE="https://pypi.org/project/cftime/"
+HOMEPAGE="
+ https://github.com/Unidata/cftime/
+ https://pypi.org/project/cftime/
+"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
-DEPEND=">=dev-python/numpy-1.13.4[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-BDEPEND=">=dev-python/cython-0.26.2[${PYTHON_USEDEP}]"
+DEPEND="
+ >=dev-python/numpy-1.13.4[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ <dev-python/cython-3[${PYTHON_USEDEP}]
+"
distutils_enable_tests pytest