summaryrefslogtreecommitdiff
path: root/dev-python/async-lru
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/async-lru
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/async-lru')
-rw-r--r--dev-python/async-lru/Manifest4
-rw-r--r--dev-python/async-lru/async-lru-1.0.3.ebuild39
-rw-r--r--dev-python/async-lru/metadata.xml2
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-python/async-lru/Manifest b/dev-python/async-lru/Manifest
index b15c9403c653..018da666aced 100644
--- a/dev-python/async-lru/Manifest
+++ b/dev-python/async-lru/Manifest
@@ -1,3 +1,5 @@
+DIST async-lru-1.0.3.gh.tar.gz 10709 BLAKE2B 437880c419d0d8df5c790ff9b93d0b608dacba1847fc0974d35f89ff97bdd07589edc5371c729889791cb05cd8ec684764ecedc6d0d36b05ee930f885570095c SHA512 530c6e1f7a1ecc8a78cac927ccb9dfc2e394498a6ed3f54e73e4e9af48ef26ddeaad56a056a50b3c3974324af69b393cd94b1f4d20e3a2944b217c03a6bd6394
DIST async-lru-17a5d207f603c0c142f01a69fbf6f487b3fef5c4.tar.gz 10486 BLAKE2B 88831686b79ed742d28a202b1b303333c52b604f6e786cd0bccc4141a81d002a2b2daf3a264bf83d40e5218a3aa3209579d99b9e1b358da708ffada50bea2d3e SHA512 3c92b5c2fe149e53889f9c4adba9b88a03815d563b56d45363310c2527d4ebb800147fc8e38847f4b473d424692bfae55f96e482979009fb1a977850fb08b2f1
EBUILD async-lru-1.0.2_p20201029.ebuild 878 BLAKE2B 63174b56a1331577fd9ccb3327e5edaf0c1c8d6371febb93d26bcd73c031d26b58825bdebc52e12f7a422db62d2efcb9d6d62913f67ddcb51d08c787a3fb24f0 SHA512 4b6ff2e0445b060db8ca195d65e8a1df8e94b2a2e51fa1e5c8e723a7b4df95957fee1df86df3844c80a4e5b8374528cd67124199500d7c46f017b0958e6cd1ac
-MISC metadata.xml 373 BLAKE2B 51888dd9d0fee86005b015df1bf565c17684a5693f921da2c94e25ed806696e5f02f89ab02084542c048e6d86a4c51aeb33ceb99b56a96b576ab426266a5ca77 SHA512 32c98548e2ed7fa7ecf6baf4df8ef61b0d5e1383e06e626741abb17547851df4aca9154e184952f74e0770edd225fdc13de41bf499739546db6e1afe0b01a770
+EBUILD async-lru-1.0.3.ebuild 808 BLAKE2B 90b7323a062421fda7dc6995713fcf1c979e63043ac53f71de94c461dc0abd5941ddf56f1120981de20740c3c122a3ba817390efbc87eb69a0afd4973fea278c SHA512 259f5001055eb9438eefa72e3d6eb1a6cf6c40d7f03015cefaeb6dc032deb444b139480c5efad9f3517360950f0f00bcede11a7e07e1b37251e776ce0437a776
+MISC metadata.xml 373 BLAKE2B bb8b67d9df0a86ac3a7d834e79bbc8a907d467e567f353b29427c9a36b11cc79eaa4d1b6f8cef9a43e632f7d333af72dcc1bc579922a1aabfc47cdffc7bd922a SHA512 c6c089b381a5c572b6ecc2907f2e90ee2f581516ac66a6f901d32990db5c8086eefcc97f80a90c9b83504934489c3440cac86ebbc0cbd76801510fba1a9f0ed3
diff --git a/dev-python/async-lru/async-lru-1.0.3.ebuild b/dev-python/async-lru/async-lru-1.0.3.ebuild
new file mode 100644
index 000000000000..7863461b3f70
--- /dev/null
+++ b/dev-python/async-lru/async-lru-1.0.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple lru_cache for asyncio"
+HOMEPAGE="
+ https://github.com/aio-libs/async-lru/
+ https://pypi.org/project/async-lru/
+"
+SRC_URI="
+ https://github.com/aio-libs/async-lru/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ >=dev-python/pytest-6.2.4[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -e 's:--cache-clear::' \
+ -e 's:--no-cov-on-fail --cov=async_lru --cov-report=term --cov-report=html::' \
+ -i setup.cfg || die
+
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/async-lru/metadata.xml b/dev-python/async-lru/metadata.xml
index 633af0cf4ad6..705bfa8fd43b 100644
--- a/dev-python/async-lru/metadata.xml
+++ b/dev-python/async-lru/metadata.xml
@@ -7,6 +7,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="github">aio-libs/async-lru</remote-id>
- <remote-id type="pypi">async_lru</remote-id>
+ <remote-id type="pypi">async-lru</remote-id>
</upstream>
</pkgmetadata>