dev-python/nptyping: Bump to 2.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-08-30 07:35:21 +02:00
parent 5a48b700f9
commit ef30aa6adf
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST nptyping-2.2.0.gh.tar.gz 65224 BLAKE2B 11b77690dc83492a13f5a58839655c210d3bd48368e14d0c97be4b5e51f4de54d4e4a238f5865826309b40dc7bb50376ca45827e9e74360dad215bd798610809 SHA512 3c29689994ca87418614e55811b66d03087d127b9e620c2dc3407e3e3ff984cdecd789b0dbd955db460f865a34941f061a7496362ef9944351f59a0e4c3ef483
DIST nptyping-2.3.0.gh.tar.gz 66275 BLAKE2B 404ed4bfc1947d2a50216f7f84d712c1ae2e38e4a45cb0a3971e575f73724f32bdb41fa6c1e647c88f6d99047d898e286e165ad5dc70b7a579417a40ebd0b299 SHA512 853cbc2aa4887d68e737b57d49f16cd2e9c9c817c3126697f7bd63ed7e6755b56b081a68cad876e35fa064497ea990933d0a0d794e53ca7604b1b79ccf9dbb22

View File

@@ -0,0 +1,50 @@
# 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 ~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