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