mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
6912c17231
commit
74ebb561af
1
dev-python/flask-caching/Manifest
Normal file
1
dev-python/flask-caching/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST flask_caching-2.3.0.tar.gz 67668 BLAKE2B 13517a0741959ca72072e2baf71f3d87b61a678052f0c3ba657d247fb82ab8457f45d453e9730fdfcac1cb665822d78a9c69aef83c0c62d2b808021f42f9881b SHA512 40ed857cf0822267af7e2c138b3136ff6312b3b2ea627a97738792ea4f7649db20f2df31a7414c42cc245a66d34248b3a54681824cf23d800bdb0d453c02df49
|
||||
45
dev-python/flask-caching/flask-caching-2.3.0.ebuild
Normal file
45
dev-python/flask-caching/flask-caching-2.3.0.ebuild
Normal 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
|
||||
}
|
||||
12
dev-python/flask-caching/metadata.xml
Normal file
12
dev-python/flask-caching/metadata.xml
Normal 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>
|
||||
Loading…
x
Reference in New Issue
Block a user