summaryrefslogtreecommitdiff
path: root/dev-python/flask-caching
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
commit61a1cada8ceb208845fa604b982216b0a7b099cb (patch)
treed91d334e3ed29648631d4c04be64001120d48e44 /dev-python/flask-caching
parent45392c898b8ba163e95028bd98896e77f0c73806 (diff)
gentoo auto-resync : 16:10:2024 - 04:04:29
Diffstat (limited to 'dev-python/flask-caching')
-rw-r--r--dev-python/flask-caching/Manifest3
-rw-r--r--dev-python/flask-caching/flask-caching-2.3.0.ebuild45
-rw-r--r--dev-python/flask-caching/metadata.xml12
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/flask-caching/Manifest b/dev-python/flask-caching/Manifest
new file mode 100644
index 000000000000..97e47f6314ac
--- /dev/null
+++ b/dev-python/flask-caching/Manifest
@@ -0,0 +1,3 @@
+DIST flask_caching-2.3.0.tar.gz 67668 BLAKE2B 13517a0741959ca72072e2baf71f3d87b61a678052f0c3ba657d247fb82ab8457f45d453e9730fdfcac1cb665822d78a9c69aef83c0c62d2b808021f42f9881b SHA512 40ed857cf0822267af7e2c138b3136ff6312b3b2ea627a97738792ea4f7649db20f2df31a7414c42cc245a66d34248b3a54681824cf23d800bdb0d453c02df49
+EBUILD flask-caching-2.3.0.ebuild 1010 BLAKE2B 48aae779928e3200d400f19adc4691a32206f828c3a0a0e71b95f03ef7299f69436beac3fd2ac8db06f3c1fdc58a350d483d26c756ef99718071815dc5aeaac1 SHA512 18d62c4259561fa4d1ddf46233ec5e8f66d8a5ef7b66089e93b188a66863e0039cc2ef100203a5e5f8adf31a5e766b5d139e624c279d40c03710df4ca71d2c19
+MISC metadata.xml 384 BLAKE2B c4d973aa5ebaff139adfe0af4d00b03dd68ece3bacce5697dbed23d47c669023c7bb9b5654b46053f8a5d4b312cfddb900f536b544c1a8506537aa86a07c06f7 SHA512 1558c3bd095b1d626b4e2de080813b6f62d5c617258b2ebe488cb46eda37ae50c484518c0df8f4f2e70a9739b9f889780d733b7eae7d82d051e5d8de87a6864e
diff --git a/dev-python/flask-caching/flask-caching-2.3.0.ebuild b/dev-python/flask-caching/flask-caching-2.3.0.ebuild
new file mode 100644
index 000000000000..a1c50053d6db
--- /dev/null
+++ b/dev-python/flask-caching/flask-caching-2.3.0.ebuild
@@ -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 ~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
+ # remove pinned deps
+ sed -i -e '/install_requires/d' setup.py || die
+}
diff --git a/dev-python/flask-caching/metadata.xml b/dev-python/flask-caching/metadata.xml
new file mode 100644
index 000000000000..cf90d31dfacd
--- /dev/null
+++ b/dev-python/flask-caching/metadata.xml
@@ -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>