summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-08 10:02:58 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-08 10:56:37 +0200
commit6d45404d81c346cd9d668e05c7446be1c1a12115 (patch)
treedda17cf816075a0ac2f644dce199d8a486042d6c /dev-python/nptyping
parentdev-python/google-auth: Bump to 2.6.3 (diff)
downloadgentoo-6d45404d81c346cd9d668e05c7446be1c1a12115.tar.gz
gentoo-6d45404d81c346cd9d668e05c7446be1c1a12115.tar.bz2
gentoo-6d45404d81c346cd9d668e05c7446be1c1a12115.zip
dev-python/nptyping: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nptyping')
-rw-r--r--dev-python/nptyping/Manifest1
-rw-r--r--dev-python/nptyping/nptyping-2.0.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest
index 6b621ad1f5d1..989348dbb461 100644
--- a/dev-python/nptyping/Manifest
+++ b/dev-python/nptyping/Manifest
@@ -1 +1,2 @@
DIST nptyping-1.4.4.gh.tar.gz 48098 BLAKE2B e13e7d6189a1ac826e8ea66918c006a63f0ec584e6d61cc7e0393b9a10709b41f75b43548ac94ce762c5180dc716e0717316573d45e8bec8951188d5df9bc1ad SHA512 4dd124734fde7e19867af0efd0c3a79f220b20576cb2f34a1cfb5e47c4fde44e936dca708d68bef99eb554afe7576f7fee447d6dd73f3c136340c8f48770f7b8
+DIST nptyping-2.0.0.gh.tar.gz 54691 BLAKE2B 05343da5b1b36ea0b06267ce0c8108b2e236c8d4124872da2ae5858b3fe9c06875846fdd07960abcc9bc961e468e1883a5da6b50d12e74b7628aacec9c1c1e16 SHA512 e7de94e93896af34285117be61799ee971cb2fabe87e8f04473393a042b299765e91ad7cf2d07339d2d1b7cee117e42ecea28197adda6de54686154e21754dc0
diff --git a/dev-python/nptyping/nptyping-2.0.0.ebuild b/dev-python/nptyping/nptyping-2.0.0.ebuild
new file mode 100644
index 000000000000..deaae0738239
--- /dev/null
+++ b/dev-python/nptyping/nptyping-2.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 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="Type hints for Numpy"
+HOMEPAGE="
+ https://pypi.org/project/nptyping/
+ https://github.com/ramonhagenaars/nptyping/
+"
+SRC_URI="
+ https://github.com/ramonhagenaars/nptyping/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' 3.8 3.9)
+"
+BDEPEND="
+ test? (
+ dev-python/typeguard[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # TODO: package beartype?
+ tests/test_beartype.py
+ # relies on Internet access to fetch packages for pip
+ tests/test_wheel.py
+)
+
+distutils_enable_tests pytest