1 |
commit: 22094920eaefb2a95a394160c19b810a05e87312 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 21 05:14:00 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 21 06:53:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22094920 |
7 |
|
8 |
dev-python/ratelimit: add 2.2.1, enable py3.{9,10} |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/ratelimit/Manifest | 1 + |
13 |
dev-python/ratelimit/ratelimit-2.2.1.ebuild | 26 ++++++++++++++++++++++++++ |
14 |
2 files changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ratelimit/Manifest b/dev-python/ratelimit/Manifest |
17 |
index 773574177c9..00b669237d3 100644 |
18 |
--- a/dev-python/ratelimit/Manifest |
19 |
+++ b/dev-python/ratelimit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ratelimit-1.4.1.tar.gz 10700 BLAKE2B d2fc1b0695c6bdc7653862ca790e9f5ec87b25513a93ec058384f334b47d5080570e3511eb6680b934b345ef5562771a078fc4ced3ceed263a7aafd26af3bfdd SHA512 ab8a2cc95b852f91c614ba5a5a677d2b4b99d5f810ec8a11e69d97af58cef1f67457e1cf686a286073c85b39c2ebbeca0a459382e410c9e8eda12cecdda57f02 |
22 |
+DIST ratelimit-2.2.1.gh.tar.gz 12366 BLAKE2B 7c810bd111202ef6cd86a789627367665457eb2fd88f13d91b18c934210b72f8f4b0ca1ae0e26b502234c4bf3e74d1c6608260d51a022f9f733d10eb061de023 SHA512 a9a2347e9f9e152e5b1ffcf346cf750c5c52471aa2216b485d989edfc55686077990676a35e0125277313ad50a656a14ab72b7aac61b661e2fc4ec74611b5990 |
23 |
|
24 |
diff --git a/dev-python/ratelimit/ratelimit-2.2.1.ebuild b/dev-python/ratelimit/ratelimit-2.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..469d3b4e290 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ratelimit/ratelimit-2.2.1.ebuild |
29 |
@@ -0,0 +1,26 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="An API rate limit decorator for Python" |
39 |
+HOMEPAGE="https://github.com/tomasbasham/ratelimit" |
40 |
+SRC_URI=" |
41 |
+ https://github.com/tomasbasham/${PN}/archive/v${PV}.tar.gz |
42 |
+ -> ${P}.gh.tar.gz |
43 |
+" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ # remove --cov args injection |
53 |
+ rm pytest.ini || die |
54 |
+ distutils-r1_src_prepare |
55 |
+} |