1 |
commit: 3c95b611a04650d832f93f425512d1baa40561f1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 07:50:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 09:33:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c95b611 |
7 |
|
8 |
dev-python/async-lru: Bump to 1.0.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/async-lru/Manifest | 1 + |
13 |
dev-python/async-lru/async-lru-1.0.3.ebuild | 39 +++++++++++++++++++++++++++++ |
14 |
dev-python/async-lru/metadata.xml | 2 +- |
15 |
3 files changed, 41 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/async-lru/Manifest b/dev-python/async-lru/Manifest |
18 |
index f97e0cc563ec..5739bca78222 100644 |
19 |
--- a/dev-python/async-lru/Manifest |
20 |
+++ b/dev-python/async-lru/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST async-lru-1.0.3.gh.tar.gz 10709 BLAKE2B 437880c419d0d8df5c790ff9b93d0b608dacba1847fc0974d35f89ff97bdd07589edc5371c729889791cb05cd8ec684764ecedc6d0d36b05ee930f885570095c SHA512 530c6e1f7a1ecc8a78cac927ccb9dfc2e394498a6ed3f54e73e4e9af48ef26ddeaad56a056a50b3c3974324af69b393cd94b1f4d20e3a2944b217c03a6bd6394 |
23 |
DIST async-lru-17a5d207f603c0c142f01a69fbf6f487b3fef5c4.tar.gz 10486 BLAKE2B 88831686b79ed742d28a202b1b303333c52b604f6e786cd0bccc4141a81d002a2b2daf3a264bf83d40e5218a3aa3209579d99b9e1b358da708ffada50bea2d3e SHA512 3c92b5c2fe149e53889f9c4adba9b88a03815d563b56d45363310c2527d4ebb800147fc8e38847f4b473d424692bfae55f96e482979009fb1a977850fb08b2f1 |
24 |
|
25 |
diff --git a/dev-python/async-lru/async-lru-1.0.3.ebuild b/dev-python/async-lru/async-lru-1.0.3.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..7863461b3f70 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/async-lru/async-lru-1.0.3.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 2021-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} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Simple lru_cache for asyncio" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/aio-libs/async-lru/ |
44 |
+ https://pypi.org/project/async-lru/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/aio-libs/async-lru/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ >=dev-python/pytest-6.2.4[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ sed -e 's:--cache-clear::' \ |
65 |
+ -e 's:--no-cov-on-fail --cov=async_lru --cov-report=term --cov-report=html::' \ |
66 |
+ -i setup.cfg || die |
67 |
+ |
68 |
+ distutils-r1_src_prepare |
69 |
+} |
70 |
|
71 |
diff --git a/dev-python/async-lru/metadata.xml b/dev-python/async-lru/metadata.xml |
72 |
index 633af0cf4ad6..705bfa8fd43b 100644 |
73 |
--- a/dev-python/async-lru/metadata.xml |
74 |
+++ b/dev-python/async-lru/metadata.xml |
75 |
@@ -7,6 +7,6 @@ |
76 |
<stabilize-allarches/> |
77 |
<upstream> |
78 |
<remote-id type="github">aio-libs/async-lru</remote-id> |
79 |
- <remote-id type="pypi">async_lru</remote-id> |
80 |
+ <remote-id type="pypi">async-lru</remote-id> |
81 |
</upstream> |
82 |
</pkgmetadata> |