summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-21 07:14:11 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-21 08:37:20 +0100
commit94dae062695f90200e0bde69cc4938b39f64af9f (patch)
treeeb166390bec906a59a340692daed7ab314f95427 /dev-python/nptyping
parentdev-python/bitarray: Bump to 2.7.3 (diff)
downloadgentoo-94dae062695f90200e0bde69cc4938b39f64af9f.tar.gz
gentoo-94dae062695f90200e0bde69cc4938b39f64af9f.tar.bz2
gentoo-94dae062695f90200e0bde69cc4938b39f64af9f.zip
dev-python/nptyping: Bump to 2.5.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.5.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest
index 11a8f4320745..6db23cb31d5f 100644
--- a/dev-python/nptyping/Manifest
+++ b/dev-python/nptyping/Manifest
@@ -1 +1,2 @@
DIST nptyping-2.3.1.gh.tar.gz 66951 BLAKE2B 781e2e84b7d89337c4753a050e95f3f9cad3a1aca22ea235e203ebe231bfc7dc4e91f5455603c4f7fe833b7b97ea9e8e561eea62eef4d0b2dce4ade077b8526d SHA512 a80df18cba3d427668be0f44f3ca315cf80daf7e3aed90d76b159479de069054cb4a2442abf7b658ddc853736fc7c3be2b0d1db2d7c9e54938cb1883eb0cb2c9
+DIST nptyping-2.5.0.gh.tar.gz 72870 BLAKE2B 16c6cb90c36bbf0b97da5ff74cee7030c641ef76d055cc5691b9d83adab2714d6e3515fd4e8616fece74606e109e6b115348964614b408df06b4f5c3cbccce37 SHA512 2cde9c5f7694d4f916b85c93b86df7f72709a70b2ffa91b7bbc98c5884236f5b36bb545a89c37e8c02a9b460065c97151d77c64f8d93b92fd93bcff406f039d9
diff --git a/dev-python/nptyping/nptyping-2.5.0.ebuild b/dev-python/nptyping/nptyping-2.5.0.ebuild
new file mode 100644
index 000000000000..1d2880b0f93b
--- /dev/null
+++ b/dev-python/nptyping/nptyping-2.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~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/mypy[${PYTHON_USEDEP}]
+ dev-python/typeguard[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # TODO: package beartype?
+ tests/test_beartype.py
+ # TODO: package pyright?
+ tests/test_pyright.py
+ # test for... whether the release is on pypi?
+ # requires Internet + feedparser, meaningless for users
+ tests/test_package_info.py
+ # relies on Internet access to fetch packages for pip
+ tests/test_wheel.py
+)
+
+distutils_enable_tests pytest