diff --git a/dev-python/flask-caching/Manifest b/dev-python/flask-caching/Manifest index ead2150b13644..4c9b3090d13b3 100644 --- a/dev-python/flask-caching/Manifest +++ b/dev-python/flask-caching/Manifest @@ -1 +1,2 @@ DIST flask_caching-2.3.0.tar.gz 67668 BLAKE2B 13517a0741959ca72072e2baf71f3d87b61a678052f0c3ba657d247fb82ab8457f45d453e9730fdfcac1cb665822d78a9c69aef83c0c62d2b808021f42f9881b SHA512 40ed857cf0822267af7e2c138b3136ff6312b3b2ea627a97738792ea4f7649db20f2df31a7414c42cc245a66d34248b3a54681824cf23d800bdb0d453c02df49 +DIST flask_caching-2.3.1.tar.gz 67560 BLAKE2B e4bd5121b4a43a81a359fb839c886e499028f4144c8a529a56ec8700db3b4819ddf59680131bc277d001ece976a9623f462be22f5aacd9668019e85e4d13d380 SHA512 ec591131746ee15f6e451b38af93194eeede1ff191b78042eafdf4fc9ab91eec6347372312cd9be8a92880679446af0c98be546b23845a12ef602e9593d48955 diff --git a/dev-python/flask-caching/flask-caching-2.3.1.ebuild b/dev-python/flask-caching/flask-caching-2.3.1.ebuild new file mode 100644 index 0000000000000..24b7738141985 --- /dev/null +++ b/dev-python/flask-caching/flask-caching-2.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=Flask-Caching +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Adds caching support to Flask applications" +HOMEPAGE=" + https://github.com/pallets-eco/flask-caching/ + https://pypi.org/project/Flask-Caching/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/cachelib-0.9.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/pylibmc[sasl(-),${PYTHON_USEDEP}] + dev-python/redis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-xprocess[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix check for obsolete package name + sed -i -e '/pytest_xprocess/d' tests/conftest.py || die +}