Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/
Date: Fri, 30 Jul 2021 22:55:22
Message-Id: 1627685709.bad74a8955e70af8219064ebf180c53d32a858d0.soap@gentoo
1 commit: bad74a8955e70af8219064ebf180c53d32a858d0
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 22:55:09 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 22:55:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad74a89
7
8 x11-wm/xpra: consistent tmpfiles_process arguments
9
10 Closes: https://github.com/gentoo/gentoo/pull/21839
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 x11-wm/xpra/xpra-4.2.1.ebuild | 11 +++++------
14 x11-wm/xpra/xpra-4.2.ebuild | 11 +++++------
15 2 files changed, 10 insertions(+), 12 deletions(-)
16
17 diff --git a/x11-wm/xpra/xpra-4.2.1.ebuild b/x11-wm/xpra/xpra-4.2.1.ebuild
18 index 1f8dc0a75fa..3cf2a6ed02a 100644
19 --- a/x11-wm/xpra/xpra-4.2.1.ebuild
20 +++ b/x11-wm/xpra/xpra-4.2.1.ebuild
21 @@ -98,12 +98,6 @@ PATCHES=(
22 "${FILESDIR}"/${PN}-4.2-suid-warning.patch
23 )
24
25 -pkg_postinst() {
26 - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
27 -
28 - xdg_pkg_postinst
29 -}
30 -
31 python_prepare_all() {
32 hprefixify -w '/os.path/' setup.py
33 hprefixify tmpfiles.d/xpra.conf xpra/server/server_util.py \
34 @@ -168,3 +162,8 @@ python_install_all() {
35 dodir "${dir%/*}"
36 mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
37 }
38 +
39 +pkg_postinst() {
40 + tmpfiles_process xpra.conf
41 + xdg_pkg_postinst
42 +}
43
44 diff --git a/x11-wm/xpra/xpra-4.2.ebuild b/x11-wm/xpra/xpra-4.2.ebuild
45 index f79d0e144a0..6e18d37932b 100644
46 --- a/x11-wm/xpra/xpra-4.2.ebuild
47 +++ b/x11-wm/xpra/xpra-4.2.ebuild
48 @@ -98,12 +98,6 @@ PATCHES=(
49 "${FILESDIR}"/${PN}-4.2-suid-warning.patch
50 )
51
52 -pkg_postinst() {
53 - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
54 -
55 - xdg_pkg_postinst
56 -}
57 -
58 python_prepare_all() {
59 hprefixify -w '/os.path/' setup.py
60 hprefixify tmpfiles.d/xpra.conf xpra/server/server_util.py \
61 @@ -168,3 +162,8 @@ python_install_all() {
62 dodir "${dir%/*}"
63 mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
64 }
65 +
66 +pkg_postinst() {
67 + tmpfiles_process xpra.conf
68 + xdg_pkg_postinst
69 +}