summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:30 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:26 +0100
commit266a7540bbe44d4f19004ff33cb6cc9d3e04d443 (patch)
treef0577a10836da1628a344b543725514eb35a40a0 /dev-python/flask-compress
parentdev-python/flask: Use pypi.eclass (diff)
downloadgentoo-266a7540bbe44d4f19004ff33cb6cc9d3e04d443.tar.gz
gentoo-266a7540bbe44d4f19004ff33cb6cc9d3e04d443.tar.bz2
gentoo-266a7540bbe44d4f19004ff33cb6cc9d3e04d443.zip
dev-python/flask-compress: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-compress')
-rw-r--r--dev-python/flask-compress/flask-compress-1.13.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/flask-compress/flask-compress-1.13.ebuild b/dev-python/flask-compress/flask-compress-1.13.ebuild
index 68c47eed0db2..fba24fae0d46 100644
--- a/dev-python/flask-compress/flask-compress-1.13.ebuild
+++ b/dev-python/flask-compress/flask-compress-1.13.ebuild
@@ -4,20 +4,17 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="Flask-Compress"
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-MY_PN="Flask-Compress"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="Compress responses in your Flask app with gzip"
HOMEPAGE="
https://github.com/colour-science/flask-compress/
https://pypi.org/project/Flask-Compress/
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"