commit: 3622c75ec3f23b7b6e2897b4ab680c7940dea231 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 3 19:10:44 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 3 19:16:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3622c75e
dev-python/flask-sqlalchemy: Use pypi.eclass Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/flask-sqlalchemy/flask-sqlalchemy-3.0.3.ebuild | 8 +++----- 1 file 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"