summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-03-09 21:57:19 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-03-09 22:06:07 +0200
commit01df12ceba442124a3283146582f72d0eab44a90 (patch)
treefe27d31fb01d455bf3ba4fd4aac975e2fa84d981 /dev-python/cftime
parentdev-python/networkx: add 2.7.1 (diff)
downloadgentoo-01df12ceba442124a3283146582f72d0eab44a90.tar.gz
gentoo-01df12ceba442124a3283146582f72d0eab44a90.tar.bz2
gentoo-01df12ceba442124a3283146582f72d0eab44a90.zip
dev-python/cftime: add 1.6.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/cftime')
-rw-r--r--dev-python/cftime/Manifest1
-rw-r--r--dev-python/cftime/cftime-1.6.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/cftime/Manifest b/dev-python/cftime/Manifest
index db1fbab10d90..a47af2954f01 100644
--- a/dev-python/cftime/Manifest
+++ b/dev-python/cftime/Manifest
@@ -1,2 +1,3 @@
DIST cftime-1.5.1.tar.gz 46036 BLAKE2B 64a4af4bc8bf29624812ca24a8fe0cdc8885f6f46fc63a69587125c88b968f6ab5d40ad332dd6bd6881fbef8b2067c2ff436efb32876b77ab74037ae2900f7f3 SHA512 d75673526d5c831fe32f4b432c943a289491cc2c3af3258c8aa91f9633055d5fe36f4c7b7c2fdb5bbfb02f3a9138b020316fe53509d07116481dee0663e82de7
DIST cftime-1.5.2.tar.gz 46415 BLAKE2B d47d7483de2450a32d126cce3ed7be7926e91ac5138be6ad3efdc8b88ce088ffd195adc8faf538a7ddeda8427596f89245c9c7e485623066398e6a69aa686d5b SHA512 4fb23aef4dbf7f8f732f95120b992d822acb79cbfe5b23521ae33da891aa17a919b6f36555a522c3d5a4ed060f247919d74525262eecf48d4a5a3f072358e907
+DIST cftime-1.6.0.tar.gz 47633 BLAKE2B 5201afcd4ecc733511481ec7aa557953acd741d7b5f3126b94d23a0848b30ea1c65b0e965e3e5560581fb7e9b8d1acd144044e8b2cb6fe6ffed99094eb39bc32 SHA512 87f350155c1b875b002822424d8bb4916cc33dfff0c249c3ac7f008c0cf41ea03c1a1b187b79d4a15b935b88a5b2d217bd19f6d069e6255c7fab2ad2d69fe7f9
diff --git a/dev-python/cftime/cftime-1.6.0.ebuild b/dev-python/cftime/cftime-1.6.0.ebuild
new file mode 100644
index 000000000000..c6600352b538
--- /dev/null
+++ b/dev-python/cftime/cftime-1.6.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Time-handling functionality from netcdf4-python"
+HOMEPAGE="https://pypi.org/project/cftime/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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}]"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # remove pytest-cov dep
+ sed -e "/--cov/d" -i setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}