summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 09:04:40 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 09:15:06 +0200
commitf334508e8e77436a77b911901c9269775f78d439 (patch)
treedaf8a4f120a205214bb55cc728615c158947f024 /dev-python
parentdev-python/flask-sqlalchemy: Use PYPI_PN (diff)
downloadgentoo-f334508e8e77436a77b911901c9269775f78d439.tar.gz
gentoo-f334508e8e77436a77b911901c9269775f78d439.tar.bz2
gentoo-f334508e8e77436a77b911901c9269775f78d439.zip
dev-python/flask-sqlalchemy: Use pypi.eclass in 2.5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild
index 65fa481668ae..6d1423b938b0 100644
--- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild
+++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.5.1.ebuild
@@ -3,16 +3,14 @@
EAPI=8
+PYPI_NO_NORMALIZE=1
+PYPI_PN="Flask-SQLAlchemy"
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
-MY_PN="Flask-SQLAlchemy"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="SQLAlchemy support for Flask applications"
HOMEPAGE="https://pypi.org/project/Flask-SQLAlchemy/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"