Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-arcade/taisei/
Date: Sun, 18 Apr 2021 00:53:40
Message-Id: 1618707214.f518b2af305b931df4533dbea276f13279d74d60.freyermuth@gentoo
1 commit: f518b2af305b931df4533dbea276f13279d74d60
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sun Apr 18 00:53:34 2021 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Sun Apr 18 00:53:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f518b2af
7
8 games-arcade/taisei: Migrate from xdg-utils to xdg eclass.
9
10 Allows to drop the pkg_* phases.
11
12 Package-Manager: Portage-3.0.17, Repoman-3.0.2
13 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
14
15 games-arcade/taisei/taisei-1.3.1-r1.ebuild | 14 +-------------
16 games-arcade/taisei/taisei-9999.ebuild | 14 +-------------
17 2 files changed, 2 insertions(+), 26 deletions(-)
18
19 diff --git a/games-arcade/taisei/taisei-1.3.1-r1.ebuild b/games-arcade/taisei/taisei-1.3.1-r1.ebuild
20 index 381361ff3..8ec848b13 100644
21 --- a/games-arcade/taisei/taisei-1.3.1-r1.ebuild
22 +++ b/games-arcade/taisei/taisei-1.3.1-r1.ebuild
23 @@ -5,7 +5,7 @@ EAPI=7
24
25 PYTHON_COMPAT=( python3_{7,8,9} )
26
27 -inherit meson python-any-r1 xdg-utils
28 +inherit meson python-any-r1 xdg
29
30 if [[ ${PV} == *9999* ]]; then
31 inherit git-r3
32 @@ -54,15 +54,3 @@ src_configure() {
33 )
34 meson_src_configure
35 }
36 -
37 -pkg_postinst() {
38 - xdg_icon_cache_update
39 - xdg_desktop_database_update
40 - xdg_mimeinfo_database_update
41 -}
42 -
43 -pkg_postrm() {
44 - xdg_icon_cache_update
45 - xdg_desktop_database_update
46 - xdg_mimeinfo_database_update
47 -}
48
49 diff --git a/games-arcade/taisei/taisei-9999.ebuild b/games-arcade/taisei/taisei-9999.ebuild
50 index a50bcba07..a1029653d 100644
51 --- a/games-arcade/taisei/taisei-9999.ebuild
52 +++ b/games-arcade/taisei/taisei-9999.ebuild
53 @@ -5,7 +5,7 @@ EAPI=7
54
55 PYTHON_COMPAT=( python3_{7,8,9} )
56
57 -inherit meson python-any-r1 xdg-utils
58 +inherit meson python-any-r1 xdg
59
60 if [[ ${PV} == *9999* ]]; then
61 inherit git-r3
62 @@ -55,15 +55,3 @@ src_configure() {
63 )
64 meson_src_configure
65 }
66 -
67 -pkg_postinst() {
68 - xdg_icon_cache_update
69 - xdg_desktop_database_update
70 - xdg_mimeinfo_database_update
71 -}
72 -
73 -pkg_postrm() {
74 - xdg_icon_cache_update
75 - xdg_desktop_database_update
76 - xdg_mimeinfo_database_update
77 -}