summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-05 18:28:11 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:25:17 +0100
commitb880a146ef78bd244e9d8164efae6d169d587700 (patch)
tree9de65d2e13cac6842ce31a84c3f9a2dc16699d32 /dev-python/tomli
parentdev-python/installer: Use pypi.eclass (diff)
downloadgentoo-b880a146ef78bd244e9d8164efae6d169d587700.tar.gz
gentoo-b880a146ef78bd244e9d8164efae6d169d587700.tar.bz2
gentoo-b880a146ef78bd244e9d8164efae6d169d587700.zip
dev-python/tomli: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tomli')
-rw-r--r--dev-python/tomli/tomli-2.0.1-r1.ebuild5
1 files 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"