1 |
commit: 6d45404d81c346cd9d668e05c7446be1c1a12115 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 08:02:58 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 08:56:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d45404d |
7 |
|
8 |
dev-python/nptyping: Bump to 2.0.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.0.0.ebuild | 44 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest |
17 |
index 6b621ad1f5d1..989348dbb461 100644 |
18 |
--- a/dev-python/nptyping/Manifest |
19 |
+++ b/dev-python/nptyping/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST nptyping-1.4.4.gh.tar.gz 48098 BLAKE2B e13e7d6189a1ac826e8ea66918c006a63f0ec584e6d61cc7e0393b9a10709b41f75b43548ac94ce762c5180dc716e0717316573d45e8bec8951188d5df9bc1ad SHA512 4dd124734fde7e19867af0efd0c3a79f220b20576cb2f34a1cfb5e47c4fde44e936dca708d68bef99eb554afe7576f7fee447d6dd73f3c136340c8f48770f7b8 |
22 |
+DIST nptyping-2.0.0.gh.tar.gz 54691 BLAKE2B 05343da5b1b36ea0b06267ce0c8108b2e236c8d4124872da2ae5858b3fe9c06875846fdd07960abcc9bc961e468e1883a5da6b50d12e74b7628aacec9c1c1e16 SHA512 e7de94e93896af34285117be61799ee971cb2fabe87e8f04473393a042b299765e91ad7cf2d07339d2d1b7cee117e42ecea28197adda6de54686154e21754dc0 |
23 |
|
24 |
diff --git a/dev-python/nptyping/nptyping-2.0.0.ebuild b/dev-python/nptyping/nptyping-2.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..deaae0738239 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/nptyping/nptyping-2.0.0.ebuild |
29 |
@@ -0,0 +1,44 @@ |
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 ~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/typeguard[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+EPYTEST_IGNORE=( |
67 |
+ # TODO: package beartype? |
68 |
+ tests/test_beartype.py |
69 |
+ # relies on Internet access to fetch packages for pip |
70 |
+ tests/test_wheel.py |
71 |
+) |
72 |
+ |
73 |
+distutils_enable_tests pytest |