diff options
Diffstat (limited to 'dev-python/nptyping')
-rw-r--r-- | dev-python/nptyping/Manifest | 2 | ||||
-rw-r--r-- | dev-python/nptyping/nptyping-2.3.0.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest index 6cca7bc5efa0..139acd872ca9 100644 --- a/dev-python/nptyping/Manifest +++ b/dev-python/nptyping/Manifest @@ -1,3 +1,5 @@ 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 EBUILD nptyping-2.2.0.ebuild 1121 BLAKE2B 31569278777591d4146bc8d202612a9687ccab3dda703249cf878e0b8ef707303d4abeb39392b26a4d707d19654ba1eebc892d7ebd4174162f122b7e61f73c49 SHA512 93ede7a07cec171509d377f4e8595a18e7ca403b1b654ac74dd1238125a597ee6a92b01b1f05401a68576f2a9055b719f5d8107e1c19a5e44c46c1f430a587c6 +EBUILD nptyping-2.3.0.ebuild 1128 BLAKE2B 7a302d6379614cec3f0681f5f1936dc38fbd3a4377c1eb1e99c74ca6c35041c1e4e47c6588eae4e9ca3fc72d2dd866740d5e8ddb8a25c3f62f1479636073243b SHA512 4b008f3dcece2747862f2bbd04cfba62a60eae719a878d27344e00cb4ed869ca99a6a573659b53a9027eb7cdc927b195b1bb450b4905c12dc73edaf75ead2df7 MISC metadata.xml 427 BLAKE2B d314480c0cbd8bdf8be3bc5936d01cf73a3b27929b04a3d2147b43c5829a582d9ac3cbefd2c99e35c7dd83d5d4ebc39b0173d996483c349b392fbc27ada65a11 SHA512 1ee6a94fd1d8e2b61f97eec3144d5382e2ff7ebef369815551b033d218bd790ffd8eb21adbebe44f9935feecf62a842f9c6fa5989364f46f6facc606f94786e5 diff --git a/dev-python/nptyping/nptyping-2.3.0.ebuild b/dev-python/nptyping/nptyping-2.3.0.ebuild new file mode 100644 index 000000000000..3815be94d4dd --- /dev/null +++ b/dev-python/nptyping/nptyping-2.3.0.ebuild @@ -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 |