diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-29 07:56:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-29 08:17:01 +0200 |
commit | 2d22aace8872f00f59ff0fc0702a2513fd2c51cc (patch) | |
tree | 5dd5277b90c10ecf00563cf581110b0689b209e0 /dev-python/nptyping | |
parent | dev-python/hatchling: Bump to 0.24.0 (diff) | |
download | gentoo-2d22aace8872f00f59ff0fc0702a2513fd2c51cc.tar.gz gentoo-2d22aace8872f00f59ff0fc0702a2513fd2c51cc.tar.bz2 gentoo-2d22aace8872f00f59ff0fc0702a2513fd2c51cc.zip |
dev-python/nptyping: Bump to 2.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nptyping')
-rw-r--r-- | dev-python/nptyping/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nptyping/nptyping-2.0.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest index 989348dbb461..1e067e009479 100644 --- a/dev-python/nptyping/Manifest +++ b/dev-python/nptyping/Manifest @@ -1,2 +1,3 @@ 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 +DIST nptyping-2.0.1.gh.tar.gz 54790 BLAKE2B 75aadc4310dc3e5262aa8f007bc65584ee110fd0f2c1d0737c35a0c57bb0f0a5191f0260dbc0a6c80cab0f546d1e3ade219d6b6318cc2d195ba0579318c20841 SHA512 d832cc0d701a36a94c97bc6db2445c7ff72ec7c41fbcb48ea2006fa201bfca169012be9501029f77f4da7a2fd126227292bd16ba5d0bd7cb6924e3eb74cfaa01 diff --git a/dev-python/nptyping/nptyping-2.0.1.ebuild b/dev-python/nptyping/nptyping-2.0.1.ebuild new file mode 100644 index 000000000000..3a0ad81b5c2a --- /dev/null +++ b/dev-python/nptyping/nptyping-2.0.1.ebuild @@ -0,0 +1,45 @@ +# 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/mypy[${PYTHON_USEDEP}] + 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 |