summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:31 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:27 +0100
commitfded2ceea3723d186be3bd71f60a26b371a380f6 (patch)
tree9c4785a2c51bc3a5d741574c18481cb7f6b1d61f /dev-python/flask-sphinx-themes
parentdev-python/flask-gravatar: Use pypi.eclass (diff)
downloadgentoo-fded2ceea3723d186be3bd71f60a26b371a380f6.tar.gz
gentoo-fded2ceea3723d186be3bd71f60a26b371a380f6.tar.bz2
gentoo-fded2ceea3723d186be3bd71f60a26b371a380f6.zip
dev-python/flask-sphinx-themes: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-sphinx-themes')
-rw-r--r--dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2-r1.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2-r1.ebuild b/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2-r1.ebuild
index c91759f89426..05ed984a217d 100644
--- a/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2-r1.ebuild
+++ b/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2-r1.ebuild
@@ -3,17 +3,15 @@
EAPI=8
-MY_PN="Flask-Sphinx-Themes"
-MY_P="${MY_PN}-${PV}"
-
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="Flask-Sphinx-Themes"
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+
+inherit distutils-r1 pypi
DESCRIPTION="Sphinx Themes for Flask related projects and Flask itself"
HOMEPAGE="https://github.com/pallets/flask-sphinx-themes https://pypi.org/project/Flask-Sphinx-Themes/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"