commit: b880a146ef78bd244e9d8164efae6d169d587700
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 17:28:11 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 7 14:25:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b880a146
dev-python/tomli: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tomli/tomli-2.0.1-r1.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild
b/dev-python/tomli/tomli-2.0.1-r1.ebuild
index 8a65a1c1633a..0dca726d29eb 100644
--- a/dev-python/tomli/tomli-2.0.1-r1.ebuild
+++ b/dev-python/tomli/tomli-2.0.1-r1.ebuild
@@ -7,7 +7,7 @@ EAPI=7
DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="A lil' TOML parser"
HOMEPAGE="
@@ -17,8 +17,7 @@ HOMEPAGE="
SRC_URI="
https://github.com/hukkin/tomli/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
-
https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl
- -> ${P}-py3-none-any.whl.zip
+ $(pypi_wheel_url --unpack)
"
LICENSE="MIT"