diff options
| author | Michał Górny <mgorny@gentoo.org> | 2023-02-20 16:05:09 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2023-02-20 16:22:13 +0100 |
| commit | 97aac20b8f047ac98c4b31a1093305b94c8d869e (patch) | |
| tree | b0539cc3f990fd0bd5d3ac631df2538f392793ae /dev-python/async-lru | |
| parent | 30a8af4537835689030e3dc9a96a022a0cdd54a8 (diff) | |
| download | gentoo-97aac20b8f047ac98c4b31a1093305b94c8d869e.tar.gz gentoo-97aac20b8f047ac98c4b31a1093305b94c8d869e.tar.bz2 gentoo-97aac20b8f047ac98c4b31a1093305b94c8d869e.zip | |
dev-python/async-lru: Bump to 2.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/async-lru')
| -rw-r--r-- | dev-python/async-lru/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/async-lru/async-lru-2.0.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/async-lru/Manifest b/dev-python/async-lru/Manifest index 73ca055194b4..ac4c4fd2f28e 100644 --- a/dev-python/async-lru/Manifest +++ b/dev-python/async-lru/Manifest @@ -1,2 +1,3 @@ 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 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 +} |
