Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cachelib/
Date: Wed, 01 Feb 2023 04:57:23
Message-Id: 1675227427.0e6674a6509177b2e5541716103a1fe6702e7899.mgorny@gentoo
1 commit: 0e6674a6509177b2e5541716103a1fe6702e7899
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 04:34:26 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 04:57:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e6674a6
7
8 dev-python/cachelib: Bump to 0.10.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cachelib/Manifest | 1 +
13 dev-python/cachelib/cachelib-0.10.2.ebuild | 44 ++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest
17 index fc76c95699e4..4d183dd89df6 100644
18 --- a/dev-python/cachelib/Manifest
19 +++ b/dev-python/cachelib/Manifest
20 @@ -1,2 +1,3 @@
21 DIST cachelib-0.10.1.gh.tar.gz 29232 BLAKE2B e5cdc9282741aac039a90943ba912274f227a93168656e757994781672ae73cba820d1b737c582716fa0711cf74572d2f81b0a495af6b006ff9138e0180c5758 SHA512 4366b6b0e1291cfd84de60927c61e127af7750b4f7437ba34dc6f5542997b01e3525ef628c7dc4325087fa60cb2e9633b1fd32fdc7d93ebe697333ca0e30355f
22 +DIST cachelib-0.10.2.gh.tar.gz 29249 BLAKE2B 2f15e59f1f3ff2dfabed4076e0e47888d16421b7e94cbe13903a39641d903e044c6879aec3a7ad1673e0bb19d7b668d69316bee9b8f8bb4176125de93bc547df SHA512 7168703bdca228982216c65cd1a765d727813e47a0522d5e84258251b8aebde4d6d561850f97232b4e6c054fe09487e35a251b3992682145ef49c5ff1212488b
23 DIST cachelib-0.9.0.gh.tar.gz 26407 BLAKE2B 8b1b6c725f5869fda4752db64ab4ee9ee9c748f0ed7e73cb5a9967d18d461cc29779a1e3dc18fcf4b9152f9586ed342fb97e75b4a9b7cb6f5efdeee02f8cf13e SHA512 53b214ba95b0e368e48ddc1e9f904497055e4c37deb0d1946419c3b294eb0e999ea690f2b79bd4801ad80201fb823927bc2024cc493006e20f623955850bba71
24
25 diff --git a/dev-python/cachelib/cachelib-0.10.2.ebuild b/dev-python/cachelib/cachelib-0.10.2.ebuild
26 new file mode 100644
27 index 000000000000..74784a2e4520
28 --- /dev/null
29 +++ b/dev-python/cachelib/cachelib-0.10.2.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2023 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_{9..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Collection of cache libraries in the same API interface. Extracted from werkzeug"
42 +HOMEPAGE="
43 + https://pypi.org/project/cachelib/
44 + https://github.com/pallets-eco/cachelib/
45 +"
46 +SRC_URI="
47 + https://github.com/pallets-eco/cachelib/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
54 +
55 +BDEPEND="
56 + test? (
57 + dev-db/redis
58 + dev-python/pylibmc[${PYTHON_USEDEP}]
59 + dev-python/pytest-xprocess[${PYTHON_USEDEP}]
60 + dev-python/redis-py[${PYTHON_USEDEP}]
61 + net-misc/memcached
62 + www-servers/uwsgi[python,${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +
68 +EPYTEST_IGNORE=(
69 + # bug #818523
70 + tests/test_redis_cache.py
71 + # requires some test server running
72 + # (these tests require dev-python/boto3)
73 + tests/test_dynamodb_cache.py
74 +)