1 |
commit: 463990661a05af79f97f0f82203b8faa71b906e0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 07:47:08 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 09:20:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46399066 |
7 |
|
8 |
dev-python/nptyping: Bump to 2.3.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/nptyping/Manifest | 1 + |
13 |
dev-python/nptyping/nptyping-2.3.1.ebuild | 50 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest |
17 |
index dc08bf3190cb..9fce06dcaa91 100644 |
18 |
--- a/dev-python/nptyping/Manifest |
19 |
+++ b/dev-python/nptyping/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST nptyping-2.2.0.gh.tar.gz 65224 BLAKE2B 11b77690dc83492a13f5a58839655c210d3bd48368e14d0c97be4b5e51f4de54d4e4a238f5865826309b40dc7bb50376ca45827e9e74360dad215bd798610809 SHA512 3c29689994ca87418614e55811b66d03087d127b9e620c2dc3407e3e3ff984cdecd789b0dbd955db460f865a34941f061a7496362ef9944351f59a0e4c3ef483 |
22 |
DIST nptyping-2.3.0.gh.tar.gz 66275 BLAKE2B 404ed4bfc1947d2a50216f7f84d712c1ae2e38e4a45cb0a3971e575f73724f32bdb41fa6c1e647c88f6d99047d898e286e165ad5dc70b7a579417a40ebd0b299 SHA512 853cbc2aa4887d68e737b57d49f16cd2e9c9c817c3126697f7bd63ed7e6755b56b081a68cad876e35fa064497ea990933d0a0d794e53ca7604b1b79ccf9dbb22 |
23 |
+DIST nptyping-2.3.1.gh.tar.gz 66951 BLAKE2B 781e2e84b7d89337c4753a050e95f3f9cad3a1aca22ea235e203ebe231bfc7dc4e91f5455603c4f7fe833b7b97ea9e8e561eea62eef4d0b2dce4ade077b8526d SHA512 a80df18cba3d427668be0f44f3ca315cf80daf7e3aed90d76b159479de069054cb4a2442abf7b658ddc853736fc7c3be2b0d1db2d7c9e54938cb1883eb0cb2c9 |
24 |
|
25 |
diff --git a/dev-python/nptyping/nptyping-2.3.1.ebuild b/dev-python/nptyping/nptyping-2.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3815be94d4dd |
28 |
--- /dev/null |
29 |
+++ b/dev-python/nptyping/nptyping-2.3.1.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Type hints for Numpy" |
42 |
+HOMEPAGE=" |
43 |
+ https://pypi.org/project/nptyping/ |
44 |
+ https://github.com/ramonhagenaars/nptyping/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/ramonhagenaars/nptyping/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
59 |
+ ' 3.8 3.9) |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ dev-python/mypy[${PYTHON_USEDEP}] |
64 |
+ dev-python/typeguard[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+EPYTEST_IGNORE=( |
69 |
+ # TODO: package beartype? |
70 |
+ tests/test_beartype.py |
71 |
+ # TODO: package pyright? |
72 |
+ tests/test_pyright.py |
73 |
+ # test for... whether the release is on pypi? |
74 |
+ # requires Internet + feedparser, meaningless for users |
75 |
+ tests/test_package_info.py |
76 |
+ # relies on Internet access to fetch packages for pip |
77 |
+ tests/test_wheel.py |
78 |
+) |
79 |
+ |
80 |
+distutils_enable_tests pytest |