summaryrefslogtreecommitdiff
path: root/dev-python/cftime/cftime-1.6.4.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-07 17:52:30 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-07 19:26:40 +0200
commit3c30e7135fda94dbfeb492efae507ba50ec96b6d (patch)
tree10ab7390e43dab25aabd36e0518d9fb7ac8f394f /dev-python/cftime/cftime-1.6.4.ebuild
parente5eb0f82b74a20113eb9c2d881ce68142646563b (diff)
downloadgentoo-3c30e7135fda94dbfeb492efae507ba50ec96b6d.tar.gz
gentoo-3c30e7135fda94dbfeb492efae507ba50ec96b6d.tar.bz2
gentoo-3c30e7135fda94dbfeb492efae507ba50ec96b6d.zip
dev-python/cftime: Bump to 1.6.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cftime/cftime-1.6.4.ebuild')
-rw-r--r--dev-python/cftime/cftime-1.6.4.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/cftime/cftime-1.6.4.ebuild b/dev-python/cftime/cftime-1.6.4.ebuild
new file mode 100644
index 000000000000..e17368025cc6
--- /dev/null
+++ b/dev-python/cftime/cftime-1.6.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Time-handling functionality from netcdf4-python"
+HOMEPAGE="
+ https://github.com/Unidata/cftime/
+ https://pypi.org/project/cftime/
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~s390 ~x86"
+
+DEPEND="
+ >=dev-python/numpy-1.26.0[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ >=dev-python/cython-0.29.20[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # remove pytest-cov dep
+ sed -e "/--cov/d" -i setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}