1 |
commit: 2d22aace8872f00f59ff0fc0702a2513fd2c51cc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 05:56:12 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 06:17:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d22aace |
7 |
|
8 |
dev-python/nptyping: Bump to 2.0.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.0.1.ebuild | 45 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nptyping/Manifest b/dev-python/nptyping/Manifest |
17 |
index 989348dbb461..1e067e009479 100644 |
18 |
--- a/dev-python/nptyping/Manifest |
19 |
+++ b/dev-python/nptyping/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
+DIST nptyping-2.0.1.gh.tar.gz 54790 BLAKE2B 75aadc4310dc3e5262aa8f007bc65584ee110fd0f2c1d0737c35a0c57bb0f0a5191f0260dbc0a6c80cab0f546d1e3ade219d6b6318cc2d195ba0579318c20841 SHA512 d832cc0d701a36a94c97bc6db2445c7ff72ec7c41fbcb48ea2006fa201bfca169012be9501029f77f4da7a2fd126227292bd16ba5d0bd7cb6924e3eb74cfaa01 |
24 |
|
25 |
diff --git a/dev-python/nptyping/nptyping-2.0.1.ebuild b/dev-python/nptyping/nptyping-2.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3a0ad81b5c2a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/nptyping/nptyping-2.0.1.ebuild |
30 |
@@ -0,0 +1,45 @@ |
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 ~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 |
+ # relies on Internet access to fetch packages for pip |
72 |
+ tests/test_wheel.py |
73 |
+) |
74 |
+ |
75 |
+distutils_enable_tests pytest |