summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-03 20:10:44 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-03 20:16:40 +0100
commit3622c75ec3f23b7b6e2897b4ab680c7940dea231 (patch)
tree037434a2bb9f5d9f173ed13c523eae4be1e68b0c /dev-python/flask-sqlalchemy
parentdev-python/pytoolconfig: Use pypi.eclass (diff)
downloadgentoo-3622c75ec3f23b7b6e2897b4ab680c7940dea231.tar.gz
gentoo-3622c75ec3f23b7b6e2897b4ab680c7940dea231.tar.bz2
gentoo-3622c75ec3f23b7b6e2897b4ab680c7940dea231.zip
dev-python/flask-sqlalchemy: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-sqlalchemy')
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild
index b24dd59321c7..0023fc28d857 100644
--- a/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild
+++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild
@@ -6,18 +6,16 @@ EAPI=8
DISTUTILS_USE_PEP517=pdm
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
MY_PN="Flask-SQLAlchemy"
-MY_P="${MY_PN}-${PV}"
-
DESCRIPTION="SQLAlchemy support for Flask applications"
HOMEPAGE="
https://github.com/pallets-eco/flask-sqlalchemy/
https://pypi.org/project/flask-sqlalchemy/
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")"
+S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="BSD"
SLOT="0"