summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-16 19:57:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 06:31:58 +0100
commite437f5c2f140374f3dbf9223de9bdc605a2f6565 (patch)
tree532f273a65b1e5d52d90af2a351c554673eee90d
parentnet-proxy/sshuttle: Use pypi.eclass (diff)
downloadgentoo-e437f5c2f140374f3dbf9223de9bdc605a2f6565.tar.gz
gentoo-e437f5c2f140374f3dbf9223de9bdc605a2f6565.tar.bz2
gentoo-e437f5c2f140374f3dbf9223de9bdc605a2f6565.zip
x11-wm/xpra: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--x11-wm/xpra/xpra-4.3.4.ebuild6
-rw-r--r--x11-wm/xpra/xpra-9999.ebuild2
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