Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Mon, 11 Dec 2017 07:59:36
Message-Id: 1512979157.ae35262c1fa6fbbb2a444642070dbb912df28f89.xmw@gentoo
1 commit: ae35262c1fa6fbbb2a444642070dbb912df28f89
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 11 00:55:44 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 11 07:59:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae35262c
7
8 dev-util/pycharm-community: Update icon and .desktop caches.
9
10 Closes: https://github.com/gentoo/gentoo/pull/6434/
11 Package-Manager: Portage-2.3.17, Repoman-2.3.6
12
13 .../pycharm-community/pycharm-community-2017.2.3.ebuild | 16 +++++++++++++---
14 .../pycharm-community/pycharm-community-2017.2.4.ebuild | 16 +++++++++++++---
15 .../pycharm-community/pycharm-community-2017.3.ebuild | 16 +++++++++++++---
16 3 files changed, 39 insertions(+), 9 deletions(-)
17
18 diff --git a/dev-util/pycharm-community/pycharm-community-2017.2.3.ebuild b/dev-util/pycharm-community/pycharm-community-2017.2.3.ebuild
19 index bc2aa0e1908..bcd9bbba0a3 100644
20 --- a/dev-util/pycharm-community/pycharm-community-2017.2.3.ebuild
21 +++ b/dev-util/pycharm-community/pycharm-community-2017.2.3.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=6
25
26 -inherit eutils readme.gentoo-r1
27 +inherit gnome2-utils xdg-utils readme.gentoo-r1
28
29 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
30 HOMEPAGE="http://www.jetbrains.com/pycharm/"
31 @@ -38,8 +38,18 @@ src_install() {
32 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
33
34 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
35 - newicon "bin/${MY_PN}.png" ${PN}.png
36 - make_desktop_entry ${PN} "${PN}" "${PN}"
37 + newicon bin/${MY_PN}.png ${PN}.png
38 + make_desktop_entry ${PN} ${PN} ${PN}
39
40 readme.gentoo_create_doc
41 }
42 +
43 +pkg_postinst() {
44 + xdg_desktop_database_update
45 + gnome2_icon_cache_update
46 +}
47 +
48 +pkg_postrm() {
49 + xdg_desktop_database_update
50 + gnome2_icon_cache_update
51 +}
52
53 diff --git a/dev-util/pycharm-community/pycharm-community-2017.2.4.ebuild b/dev-util/pycharm-community/pycharm-community-2017.2.4.ebuild
54 index 6bcb19218d4..6dfa17b1da1 100644
55 --- a/dev-util/pycharm-community/pycharm-community-2017.2.4.ebuild
56 +++ b/dev-util/pycharm-community/pycharm-community-2017.2.4.ebuild
57 @@ -3,7 +3,7 @@
58
59 EAPI=6
60
61 -inherit eutils readme.gentoo-r1
62 +inherit gnome2-utils xdg-utils readme.gentoo-r1
63
64 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
65 HOMEPAGE="http://www.jetbrains.com/pycharm/"
66 @@ -38,8 +38,18 @@ src_install() {
67 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
68
69 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
70 - newicon "bin/${MY_PN}.png" ${PN}.png
71 - make_desktop_entry ${PN} "${PN}" "${PN}"
72 + newicon bin/${MY_PN}.png ${PN}.png
73 + make_desktop_entry ${PN} ${PN} ${PN}
74
75 readme.gentoo_create_doc
76 }
77 +
78 +pkg_postinst() {
79 + xdg_desktop_database_update
80 + gnome2_icon_cache_update
81 +}
82 +
83 +pkg_postrm() {
84 + xdg_desktop_database_update
85 + gnome2_icon_cache_update
86 +}
87
88 diff --git a/dev-util/pycharm-community/pycharm-community-2017.3.ebuild b/dev-util/pycharm-community/pycharm-community-2017.3.ebuild
89 index 6bcb19218d4..6dfa17b1da1 100644
90 --- a/dev-util/pycharm-community/pycharm-community-2017.3.ebuild
91 +++ b/dev-util/pycharm-community/pycharm-community-2017.3.ebuild
92 @@ -3,7 +3,7 @@
93
94 EAPI=6
95
96 -inherit eutils readme.gentoo-r1
97 +inherit gnome2-utils xdg-utils readme.gentoo-r1
98
99 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
100 HOMEPAGE="http://www.jetbrains.com/pycharm/"
101 @@ -38,8 +38,18 @@ src_install() {
102 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
103
104 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
105 - newicon "bin/${MY_PN}.png" ${PN}.png
106 - make_desktop_entry ${PN} "${PN}" "${PN}"
107 + newicon bin/${MY_PN}.png ${PN}.png
108 + make_desktop_entry ${PN} ${PN} ${PN}
109
110 readme.gentoo_create_doc
111 }
112 +
113 +pkg_postinst() {
114 + xdg_desktop_database_update
115 + gnome2_icon_cache_update
116 +}
117 +
118 +pkg_postrm() {
119 + xdg_desktop_database_update
120 + gnome2_icon_cache_update
121 +}