commit:     d1413628ebe1cb0c77d5bec5fc638ce8e62a3a35
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 15:15:59 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 15:16:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1413628

dev-util/pkgdev: use pypi eclass

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/pkgdev/pkgdev-0.2.4.ebuild | 4 ++--
 dev-util/pkgdev/pkgdev-9999.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/pkgdev/pkgdev-0.2.4.ebuild 
b/dev-util/pkgdev/pkgdev-0.2.4.ebuild
index f6989d35b829..4b29fa2379bd 100644
--- a/dev-util/pkgdev/pkgdev-0.2.4.ebuild
+++ b/dev-util/pkgdev/pkgdev-0.2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then
                https://github.com/pkgcore/pkgdev.git";
        inherit git-r3
 else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       inherit pypi
        KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 
~x64-macos"
 fi
 

diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild 
b/dev-util/pkgdev/pkgdev-9999.ebuild
index da01d4dd6865..7b8c02772dba 100644
--- a/dev-util/pkgdev/pkgdev-9999.ebuild
+++ b/dev-util/pkgdev/pkgdev-9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then
                https://github.com/pkgcore/pkgdev.git";
        inherit git-r3
 else
-       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       inherit pypi
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
 fi
 

Reply via email to