summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-25 18:26:56 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-26 04:26:41 +0200
commit6075f79c2eaa12619b4704f8dd12529479094864 (patch)
tree7b523d39d3b039e5ab1962d90226bb8abca7c0be /dev-python/termcolor
parentlxde-base/lxdm: Patch socket header failure on musl + clang:16 (diff)
downloadgentoo-6075f79c2eaa12619b4704f8dd12529479094864.tar.gz
gentoo-6075f79c2eaa12619b4704f8dd12529479094864.tar.bz2
gentoo-6075f79c2eaa12619b4704f8dd12529479094864.zip
dev-python/termcolor: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/termcolor')
-rw-r--r--dev-python/termcolor/termcolor-2.2.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/termcolor/termcolor-2.2.0.ebuild b/dev-python/termcolor/termcolor-2.2.0.ebuild
index e7c6f974d1af..a0a53888c381 100644
--- a/dev-python/termcolor/termcolor-2.2.0.ebuild
+++ b/dev-python/termcolor/termcolor-2.2.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="ANSI Color formatting for output in terminal"
HOMEPAGE="
@@ -14,7 +14,7 @@ HOMEPAGE="
https://pypi.org/project/termcolor/
"
# rename is for avoiding conflict with dev-cpp/termcolor
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -> python-${P}.tar.gz"
+SRC_URI="$(pypi_sdist_url) -> python-${P}.tar.gz"
LICENSE="MIT"
SLOT="0"