commit:     becb7d1817a2862efef6bd496df9d1eda69d83a9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  7 01:51:15 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  7 01:51:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becb7d18

dev-python/aiocache: Bump to 0.12.2

Closes: https://bugs.gentoo.org/904893
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/aiocache/Manifest               |  1 +
 dev-python/aiocache/aiocache-0.12.2.ebuild | 43 ++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/aiocache/Manifest b/dev-python/aiocache/Manifest
index 421a8f796e2c..10dac826433c 100644
--- a/dev-python/aiocache/Manifest
+++ b/dev-python/aiocache/Manifest
@@ -1 +1,2 @@
 DIST aiocache-0.12.0.tar.gz 127002 BLAKE2B 
efb07ff146d777e99154c839d01665d35fbba410e1a1ca80d4c71f639e69abf43509d79398679027f0a94eb24cfdf933f5762418bd3f43dd441281cc1b1b5236
 SHA512 
8437c148cc2d40737c0352b0a2fa19636124b71bc03f206066e5c7b8910aa0f0bddfa40587d50a4acd86abd88e8db595a92e267d4b25234f20ccba94e5a63e7e
+DIST aiocache-0.12.2.tar.gz 131851 BLAKE2B 
a8467ec12321248f7673245c427567d2c8ef345a6a34694618fce0969e186de47097d64c3b94cbf047a281a1ed09889075862d9770f7787daaf9469f245b2493
 SHA512 
ce57e3fdbd428e8a8a94a45e5196e339d40f4fffa49851c3486b264e6344d72fe39407bd958a97baa7af06433c08a0e9d6a7ae44eff515dfc40012804ac876f2

diff --git a/dev-python/aiocache/aiocache-0.12.2.ebuild 
b/dev-python/aiocache/aiocache-0.12.2.ebuild
new file mode 100644
index 000000000000..bba70b471f05
--- /dev/null
+++ b/dev-python/aiocache/aiocache-0.12.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Asyncio cache manager"
+HOMEPAGE="
+       https://github.com/aio-libs/aiocache/
+       https://pypi.org/project/aiocache/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+       test? (
+               >=dev-python/msgpack-0.5.5[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               >=dev-python/redis-4.2.0[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               # require running servers
+               # TODO: start redis and enable them
+               tests/acceptance
+               # benchmarks
+               tests/performance
+               # requires aiomcache
+               tests/ut/backends/test_memcached.py
+       )
+
+       epytest -o addopts= -m "not memcached"
+}

Reply via email to