summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-07-06 15:08:41 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-07-06 15:08:41 +0100
commit46a9dd4de7bca2152a3403726e50375563e37003 (patch)
tree103729cc3418a6a37a5761313fad0609d3f98b19 /x11-wm
parentapp-cdr/brasero: fixed incompatible pointers + sorted vars (diff)
downloadgentoo-46a9dd4de7bca2152a3403726e50375563e37003.tar.gz
gentoo-46a9dd4de7bca2152a3403726e50375563e37003.tar.bz2
gentoo-46a9dd4de7bca2152a3403726e50375563e37003.zip
x11-wm/xpra: Fix file collision caused by failed tests
Closes: https://bugs.gentoo.org/935476 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xpra/xpra-6.0.1-r1.ebuild8
-rw-r--r--x11-wm/xpra/xpra-6.9999.ebuild8
-rw-r--r--x11-wm/xpra/xpra-9999.ebuild8
3 files changed, 18 insertions, 6 deletions
diff --git a/x11-wm/xpra/xpra-6.0.1-r1.ebuild b/x11-wm/xpra/xpra-6.0.1-r1.ebuild
index 44f903773195..fef6cb43651c 100644
--- a/x11-wm/xpra/xpra-6.0.1-r1.ebuild
+++ b/x11-wm/xpra/xpra-6.0.1-r1.ebuild
@@ -338,13 +338,17 @@ python_test() {
--skip-slow unit.server.server_sockets_test \
--skip-slow unit.server.source.source_mixins_test \
|| die -n
+}
+python_install() {
# remove test file
- rm "${INSTALL_ROOT}/usr/share/xpra/www" -r || die
+ rm -vrf "${BUILD_DIR}/install/usr/share/xpra/www"
+
+ distutils-r1_python_install
}
python_install_all() {
- distutils-r1_python_prepare_all
+ distutils-r1_python_install_all
mv -v "${ED}"/usr/etc "${ED}"/ || die
diff --git a/x11-wm/xpra/xpra-6.9999.ebuild b/x11-wm/xpra/xpra-6.9999.ebuild
index 44f903773195..fef6cb43651c 100644
--- a/x11-wm/xpra/xpra-6.9999.ebuild
+++ b/x11-wm/xpra/xpra-6.9999.ebuild
@@ -338,13 +338,17 @@ python_test() {
--skip-slow unit.server.server_sockets_test \
--skip-slow unit.server.source.source_mixins_test \
|| die -n
+}
+python_install() {
# remove test file
- rm "${INSTALL_ROOT}/usr/share/xpra/www" -r || die
+ rm -vrf "${BUILD_DIR}/install/usr/share/xpra/www"
+
+ distutils-r1_python_install
}
python_install_all() {
- distutils-r1_python_prepare_all
+ distutils-r1_python_install_all
mv -v "${ED}"/usr/etc "${ED}"/ || die
diff --git a/x11-wm/xpra/xpra-9999.ebuild b/x11-wm/xpra/xpra-9999.ebuild
index 44f903773195..fef6cb43651c 100644
--- a/x11-wm/xpra/xpra-9999.ebuild
+++ b/x11-wm/xpra/xpra-9999.ebuild
@@ -338,13 +338,17 @@ python_test() {
--skip-slow unit.server.server_sockets_test \
--skip-slow unit.server.source.source_mixins_test \
|| die -n
+}
+python_install() {
# remove test file
- rm "${INSTALL_ROOT}/usr/share/xpra/www" -r || die
+ rm -vrf "${BUILD_DIR}/install/usr/share/xpra/www"
+
+ distutils-r1_python_install
}
python_install_all() {
- distutils-r1_python_prepare_all
+ distutils-r1_python_install_all
mv -v "${ED}"/usr/etc "${ED}"/ || die