diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-16 18:39:45 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-16 18:39:45 +0100 |
commit | 33bed07a9297e3e2e58e9ea85ff45c699abe6ff0 (patch) | |
tree | 0d44e66cd1d7536e6f56dd87bffb91a77aa3af3e /dev-python/flufl-lock | |
parent | dev-python/flufl-lock: Enable py3.11 (diff) | |
download | gentoo-33bed07a9297e3e2e58e9ea85ff45c699abe6ff0.tar.gz gentoo-33bed07a9297e3e2e58e9ea85ff45c699abe6ff0.tar.bz2 gentoo-33bed07a9297e3e2e58e9ea85ff45c699abe6ff0.zip |
dev-python/flufl-lock: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flufl-lock')
-rw-r--r-- | dev-python/flufl-lock/flufl-lock-7.1.1.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/flufl-lock/flufl-lock-7.1.1.ebuild b/dev-python/flufl-lock/flufl-lock-7.1.1.ebuild index 333f2c933dd3..2b57e4e5d469 100644 --- a/dev-python/flufl-lock/flufl-lock-7.1.1.ebuild +++ b/dev-python/flufl-lock/flufl-lock-7.1.1.ebuild @@ -6,16 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/-/.} DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" HOMEPAGE=" https://gitlab.com/warsaw/flufl.lock/ https://pypi.org/project/flufl.lock/ " -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="Apache-2.0" SLOT="0" |