commit: e437f5c2f140374f3dbf9223de9bdc605a2f6565
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 18:57:41 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 05:31:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e437f5c2
x11-wm/xpra: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
x11-wm/xpra/xpra-4.3.4.ebuild | 6 ++++--
x11-wm/xpra/xpra-9999.ebuild | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/x11-wm/xpra/xpra-4.3.4.ebuild b/x11-wm/xpra/xpra-4.3.4.ebuild
index 54c34c90b098..716df2f2418d 100644
--- a/x11-wm/xpra/xpra-4.3.4.ebuild
+++ b/x11-wm/xpra/xpra-4.3.4.ebuild
@@ -7,8 +7,10 @@ if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/Xpra-org/xpra.git"
inherit git-r3
else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- https://dev.gentoo.org/~chewi/distfiles/${PN}-4.3.1-tests.patch"
+ inherit pypi
+ SRC_URI+="
+ https://dev.gentoo.org/~chewi/distfiles/${PN}-4.3.1-tests.patch
+ "
KEYWORDS="~amd64 ~x86"
fi
diff --git a/x11-wm/xpra/xpra-9999.ebuild b/x11-wm/xpra/xpra-9999.ebuild
index 2465c20f7b26..05cbf8814ab3 100644
--- a/x11-wm/xpra/xpra-9999.ebuild
+++ b/x11-wm/xpra/xpra-9999.ebuild
@@ -7,7 +7,7 @@ if [[ ${PV} = 9999* ]]; then
EGIT_REPO_URI="https://github.com/Xpra-org/xpra.git"
inherit git-r3
else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ inherit pypi
KEYWORDS="~amd64 ~x86"
fi