dev-python/flask-caching: New package, v2.3.0

Required by dev-python/flask-compress now.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-10-15 08:43:39 +02:00
parent 6912c17231
commit 74ebb561af
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST flask_caching-2.3.0.tar.gz 67668 BLAKE2B 13517a0741959ca72072e2baf71f3d87b61a678052f0c3ba657d247fb82ab8457f45d453e9730fdfcac1cb665822d78a9c69aef83c0c62d2b808021f42f9881b SHA512 40ed857cf0822267af7e2c138b3136ff6312b3b2ea627a97738792ea4f7649db20f2df31a7414c42cc245a66d34248b3a54681824cf23d800bdb0d453c02df49

View File

@ -0,0 +1,45 @@
# Copyright 2024 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"
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
# remove pinned deps
sed -i -e '/install_requires/d' setup.py || die
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">pallets-eco/flask-caching</remote-id>
<remote-id type="pypi">Flask-Caching</remote-id>
</upstream>
</pkgmetadata>