From be194de164f2bbcacaa804d9bb176cdd21b9d65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 24 Mar 2023 14:53:27 +0100 Subject: [PATCH] dev-python/discogs-client: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/discogs-client/discogs-client-2.6.ebuild | 5 +++-- dev-python/discogs-client/discogs-client-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-python/discogs-client/discogs-client-2.6.ebuild b/dev-python/discogs-client/discogs-client-2.6.ebuild index 3e7d1008f56c7..002e78b02b105 100644 --- a/dev-python/discogs-client/discogs-client-2.6.ebuild +++ b/dev-python/discogs-client/discogs-client-2.6.ebuild @@ -4,6 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="python3-discogs-client" PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -12,9 +14,8 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/joalla/discogs_client.git" inherit git-r3 else - SRC_URI="mirror://pypi/p/python3-${PN}/python3-${P}.tar.gz" + inherit pypi KEYWORDS="amd64 ~x86" - S="${WORKDIR}/python3-${P}" fi DESCRIPTION="Continuation of the official Python API client for Discogs" diff --git a/dev-python/discogs-client/discogs-client-9999.ebuild b/dev-python/discogs-client/discogs-client-9999.ebuild index 38145b329c130..9d6289c122b80 100644 --- a/dev-python/discogs-client/discogs-client-9999.ebuild +++ b/dev-python/discogs-client/discogs-client-9999.ebuild @@ -4,6 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN="python3-discogs-client" PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 @@ -12,9 +14,8 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/joalla/discogs_client.git" inherit git-r3 else - SRC_URI="mirror://pypi/p/python3-${PN}/python3-${P}.tar.gz" + inherit pypi KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/python3-${P}" fi DESCRIPTION="Continuation of the official Python API client for Discogs"