summaryrefslogtreecommitdiff
path: root/dev-python/async-lru
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
commitdd03974882f85ca04e35cfbc97f7ff756f5d5c20 (patch)
tree4fabcc91c51083e19657dd0a557043e74468106e /dev-python/async-lru
parentd542bd2ef95af892c7ef62be1489b0288b1df9e3 (diff)
gentoo auto-resync : 20:02:2023 - 20:21:39
Diffstat (limited to 'dev-python/async-lru')
-rw-r--r--dev-python/async-lru/Manifest2
-rw-r--r--dev-python/async-lru/async-lru-2.0.1.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/async-lru/Manifest b/dev-python/async-lru/Manifest
index 1c04c62e781c..45ed9f14b0b5 100644
--- a/dev-python/async-lru/Manifest
+++ b/dev-python/async-lru/Manifest
@@ -1,5 +1,7 @@
DIST async-lru-1.0.3.gh.tar.gz 10709 BLAKE2B 437880c419d0d8df5c790ff9b93d0b608dacba1847fc0974d35f89ff97bdd07589edc5371c729889791cb05cd8ec684764ecedc6d0d36b05ee930f885570095c SHA512 530c6e1f7a1ecc8a78cac927ccb9dfc2e394498a6ed3f54e73e4e9af48ef26ddeaad56a056a50b3c3974324af69b393cd94b1f4d20e3a2944b217c03a6bd6394
DIST async-lru-2.0.0.gh.tar.gz 11119 BLAKE2B 7bfc174ec68ce8a3ad7de94c6eb555aa53be5561c7376bf8149e91f9d8f08361f4b51ba45cecaa77cc89c5c7fc4a225f71fd56878cf64647f7cc82a06ec76b02 SHA512 dbbd4f63d488bde8d4e15b205bca2850c8992d67491c5c0d2c245ed2bc1005df523f837c736db96b6cdcad22c9cf409111040e9d3a86a38c5b627aa256a6b5a6
+DIST async-lru-2.0.1.gh.tar.gz 11150 BLAKE2B 034da5aee6c7d7177c9c878d22617aa0aecd143271319fbe5c0fdd346febef73b4d4e3b2293dbf6a522474cb95cde574a0250bde93c4749f1b4c93bb1db449a5 SHA512 8bb4698320534d722fe1978f0d3402c886dd391caa974afc2be70eb323855b37b1e5b5936bea14b118b78d5c18363306996530014a0ea010150ff464a6531b68
EBUILD async-lru-1.0.3.ebuild 808 BLAKE2B cb264acc1a5776f543125d25df9c631c1ee10031f89a97527cdcf486cefd39cc0380a8f16823836b0621d9ad61fa8d75b882b53bf85e2e0e2afb2a9565c99d01 SHA512 8bea72c4ec78e9ba1de2a0a4789c3e5f5dd8fb05adeaae6605faabd4c963711558ef6d0f37150d909af15255523fd699804d6b0b466685d6882915b721f6867c
EBUILD async-lru-2.0.0.ebuild 876 BLAKE2B e42a6411f9781394078d78e2f628591b3dd1e897d275fb3766494cf7cb94f892ce761ad9d5a2c1b8a1c8fa35cb7e50211a183163dfd1e4d9f74b3a2ca28932f1 SHA512 70c6ec17ec4e02d0bed480a471631c2fcadcdcb28bc1800a391cbbf2fce89f24098fe8443f2b4f1fa4b3d59a176ddca8d9ae0e5b8825b83574f20d08252e47b0
+EBUILD async-lru-2.0.1.ebuild 877 BLAKE2B 3ce4b9506cb4653cce7f00937d0e119eac52c4d19de1816c8e5659fcf139af0bc01e320c6ad340cefebdc44c4970ef68448ac3ed7ee27a41e264360a0b6e1415 SHA512 b5a2ad9338fcbe04c2106c37709dbe4edf59591a0d9b7ee3beb9ce1adbe2ec40f5e4fe9868bd8594e35544e7d2a6d1779c50cc1f493ae861886cc7866c75acce
MISC metadata.xml 373 BLAKE2B bb8b67d9df0a86ac3a7d834e79bbc8a907d467e567f353b29427c9a36b11cc79eaa4d1b6f8cef9a43e632f7d333af72dcc1bc579922a1aabfc47cdffc7bd922a SHA512 c6c089b381a5c572b6ecc2907f2e90ee2f581516ac66a6f901d32990db5c8086eefcc97f80a90c9b83504934489c3440cac86ebbc0cbd76801510fba1a9f0ed3
diff --git a/dev-python/async-lru/async-lru-2.0.1.ebuild b/dev-python/async-lru/async-lru-2.0.1.ebuild
new file mode 100644
index 000000000000..2ca31dbeb7f1
--- /dev/null
+++ b/dev-python/async-lru/async-lru-2.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} 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"
+
+RDEPEND="
+ >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
+"
+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
+}