Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Thu, 26 Sep 2019 18:40:19
Message-Id: 1569523186.977afad75859d08176fb201e54bd8ec248258fec.zlogene@gentoo
1 commit: 977afad75859d08176fb201e54bd8ec248258fec
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 26 18:39:46 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 26 18:39:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977afad7
7
8 dev-util/pycharm-community: Version bump (v2019.2.2)
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 dev-util/pycharm-community/Manifest | 1 +
14 .../pycharm-community-2019.2.2.ebuild | 55 ++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
18 index 988df668c35..69ff1b69127 100644
19 --- a/dev-util/pycharm-community/Manifest
20 +++ b/dev-util/pycharm-community/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pycharm-community-2019.1.3.tar.gz 334018235 BLAKE2B 8e4c400685e69aaa53426dee848d5f14a0c40b88232ee8cb8c0c0f2f727c68b9212600dab7717ec77c1cd4b42666bad965fcbc217e3158d357b5a5edd6a94e26 SHA512 42627af39a8530931442c8419ebee4d999faad40a203519fc8564e4b8b14d2476e8426e9976e487c92e4398db8efb15c5e2d28536b1c7b374898f9dc0021acbe
23 +DIST pycharm-community-2019.2.2.tar.gz 359797110 BLAKE2B 64e7c811f04ccea8178632a9eb25f25641fbda9bf38f2cad55b7b15e9cfe568cecfa6ceafbdb4b8c670d32923e871efbeea20c4d670bcf851621bee61502c240 SHA512 7d136d98b695d04e16662d7ecf8d7a67dd37667952870dddde1d881aa899e2896a95e83de2a88cb42bd8f92e8872a9ada30941e85bcc251a00d73e87950c7f22
24 DIST pycharm-community-2019.2.tar.gz 359295798 BLAKE2B 9a1b19e93d0d2cba6c7dd2c059d511e4d193b6bd9e5f1900c3aadd6ff322891c834947360715c8f41e5112f7a71d3b5b09ed7e23dcf3dd8c6c4de9c4eaf16b5b SHA512 490925de309bcb0ef052593e517f3d701ae1d82b05d4ea38bb7bb5eef86e9df21472e395fadbb21906fa1024358ae599285fba8fdb72b0ddb7f1e8f7f26ac046
25
26 diff --git a/dev-util/pycharm-community/pycharm-community-2019.2.2.ebuild b/dev-util/pycharm-community/pycharm-community-2019.2.2.ebuild
27 new file mode 100644
28 index 00000000000..3bd1b2cb410
29 --- /dev/null
30 +++ b/dev-util/pycharm-community/pycharm-community-2019.2.2.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit gnome2-utils readme.gentoo-r1 xdg
38 +
39 +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
40 +HOMEPAGE="http://www.jetbrains.com/pycharm/"
41 +SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND=">=virtual/jre-1.8
48 + dev-libs/libdbusmenu
49 + dev-python/pip"
50 +
51 +RESTRICT="mirror strip"
52 +
53 +QA_PREBUILT="opt/${PN}/bin/fsnotifier
54 + opt/${PN}/bin/fsnotifier64
55 + opt/${PN}/bin/fsnotifier-arm"
56 +
57 +MY_PN=${PN/-community/}
58 +
59 +src_prepare() {
60 + default
61 +
62 + rm -rf jre || die
63 +}
64 +
65 +src_install() {
66 + insinto /opt/${PN}
67 + doins -r *
68 +
69 + fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
70 +
71 + dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${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_pkg_postinst
80 + gnome2_icon_cache_update
81 +}
82 +
83 +pkg_postrm() {
84 + xdg_pkg_postrm
85 + gnome2_icon_cache_update
86 +}