1 |
commit: b446e4aeba19327d036fa02a118bb7d422fcbecc |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 18:20:12 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 18:33:52 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b446e4ae |
7 |
|
8 |
dev-python/signature_dispatch: add 1.0.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/signature_dispatch/Manifest | 1 + |
13 |
.../signature_dispatch-1.0.1.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/signature_dispatch/Manifest b/dev-python/signature_dispatch/Manifest |
17 |
index 82b92a7f258f..44e11515b681 100644 |
18 |
--- a/dev-python/signature_dispatch/Manifest |
19 |
+++ b/dev-python/signature_dispatch/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST signature_dispatch-1.0.0.tar.gz 15102 BLAKE2B d0fe384551136d23f815129849ec70c0d1bd8616dab571122b7407578f3cc0d614fc5c44f3de5d9541bed9e9e3a0887517fff1183fd6c782bde603d774fe09f1 SHA512 c13ac92f50a8bd7a9fcd0b231f74a14539fd9c0303fdb29860a93116512a20113708c3207c4b2d8f61a48a9632e8cd21f7ea3fcb49ae3a4b1c79eb6a71df4eab |
22 |
+DIST signature_dispatch-1.0.1.tar.gz 15348 BLAKE2B 35356caae5f6f7ba28494c02142addb581a36520b8becd2e0e132f1e4a37002870c981475688b758a4733341d67cc4cb30b2a7b69b3d106570766eeed36104fc SHA512 656fb47c50d865d1afec53f389154e783792bcedd7443442a142d19bcbd352fe0eff41ae9ef74378bafc164bb386a8e9a6f57d762f34ad23557a44a5d0d0f5de |
23 |
|
24 |
diff --git a/dev-python/signature_dispatch/signature_dispatch-1.0.1.ebuild b/dev-python/signature_dispatch/signature_dispatch-1.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..19d13a97f45b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/signature_dispatch/signature_dispatch-1.0.1.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 2021-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=flit |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 pypi |
39 |
+ |
40 |
+DESCRIPTION="Execute the first function that matches the given arguments" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/kalekundert/signature_dispatch/ |
43 |
+ https://pypi.org/project/signature-dispatch/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+distutils_enable_tests pytest |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/typeguard-3.0.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+ |
56 |
+python_test() { |
57 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
58 |
+ epytest -o addopts= |
59 |
+} |