summaryrefslogtreecommitdiff
path: root/dev-python/cachelib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-15 12:04:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-15 12:04:03 +0100
commit7fa8a1e3f149eea4c844c47cfe26136ed7614c58 (patch)
treee514d1b9999d088064bee1e34a3a3c500d6d7a07 /dev-python/cachelib
parentd993571e2ee444d08f4e9e90d493ee37338657e3 (diff)
gentoo auto-resync : 15:04:2024 - 12:04:02
Diffstat (limited to 'dev-python/cachelib')
-rw-r--r--dev-python/cachelib/Manifest2
-rw-r--r--dev-python/cachelib/cachelib-0.13.0.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/cachelib/Manifest b/dev-python/cachelib/Manifest
index 70c31b07d7eb..65630f488dcd 100644
--- a/dev-python/cachelib/Manifest
+++ b/dev-python/cachelib/Manifest
@@ -1,3 +1,5 @@
DIST cachelib-0.12.0.gh.tar.gz 30768 BLAKE2B 5d147e63d0be58c7134f851cea79a002aa89b5364aec5c0e0906bfb9573578b094d71f361265b15eb519da897eed069d4aaeae1a8599176a95c074186018a713 SHA512 a35bfa9dfb6db8ae0e6fcdad86e5221d82144d5c0fcdb046b951d193f70f706712800b27c27825f8020314c521eb568131257ce0e20dc820cb3f7f8ffbf2650f
+DIST cachelib-0.13.0.gh.tar.gz 31116 BLAKE2B fcb5f065778533bbe9200c77f12d374a62111c5dc26e366c07ea0986bba138a97c56de0440dd3b4a5603b8700ec8035b65ebe95d48e4dcf60c03f78a2215f128 SHA512 6b58f3823d1169ca1e25a5accc7a51752e26c8e7f62b58a571b0de4d8792dd6c3eb3d3c60f3843653b7aaa17177a1d6d56e442ceb6b69a486d76511003ff97b2
EBUILD cachelib-0.12.0.ebuild 1029 BLAKE2B dcf9f5a97a9223fbe5dd34201c99150194de7e99a2990061dfd761af5e2383d4decbd733a782e20a7701e3b559433626c3f69d3c00ad5458cbff2f8ffceced34 SHA512 1f818595e08af61b93118f0066d0bfb4f339385213d1aaa07f31266177dce2c95589d5a4a6d0b38ec2bde7675b65f8628fe1a4da5acb7bc4c8521e2aa8c4114d
+EBUILD cachelib-0.13.0.ebuild 1032 BLAKE2B 403c3030ae022123a1673096023b9ea7d24bfede6c20ed07285d59adcc875b5d1deb50f1aae5e65faf29383a534dfb12eea4c9ec6baca67fc6c61b72811fd125 SHA512 46c6f78d4e8d21dee6439ac5daaa347e2631224773ff2dabfe26e070fb327c266e13566046602089aaaa02dcc0fba1673cf581733eee9264cab7570d6ef80a82
MISC metadata.xml 396 BLAKE2B 2143d629636bdd645b81f85f73b42716ec5c8d35d19ea36abacd18a4131439446d75d147806157c0d1aad8089f438411b02bfd87ec47bda334c25696ae850271 SHA512 3046e2959b959072f7f144d3f0f39273451db3615f38f867b9164014de6d7a2a0e753b4a9b2029706e694a649476fbadbf14d03b27f10184b79de31b7ef6d00b
diff --git a/dev-python/cachelib/cachelib-0.13.0.ebuild b/dev-python/cachelib/cachelib-0.13.0.ebuild
new file mode 100644
index 000000000000..0262028d040d
--- /dev/null
+++ b/dev-python/cachelib/cachelib-0.13.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 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
+
+DESCRIPTION="Collection of cache libraries in the same API interface. Extracted from werkzeug"
+HOMEPAGE="
+ https://pypi.org/project/cachelib/
+ https://github.com/pallets-eco/cachelib/
+"
+SRC_URI="
+ https://github.com/pallets-eco/cachelib/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-db/redis
+ dev-python/pylibmc[${PYTHON_USEDEP}]
+ dev-python/pytest-xprocess[${PYTHON_USEDEP}]
+ dev-python/redis[${PYTHON_USEDEP}]
+ net-misc/memcached
+ www-servers/uwsgi[python,${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # bug #818523
+ tests/test_redis_cache.py
+ # requires some test server running
+ # (these tests require dev-python/boto3)
+ tests/test_dynamodb_cache.py
+ # requires mongo test server
+ tests/test_mongodb_cache.py
+)