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, 04 Apr 2019 16:13:40
Message-Id: 1554394389.6cf7ae1041884d7cd78c96a75615244134ed23ce.zlogene@gentoo
1 commit: 6cf7ae1041884d7cd78c96a75615244134ed23ce
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 4 16:13:09 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 4 16:13:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf7ae10
7
8 dev-util/pycharm-community: Version bump (v2019.1.1)
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 dev-util/pycharm-community/Manifest | 1 +
14 .../pycharm-community-2019.1.1.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 6659b13ea5e..de8aa9cf7b3 100644
19 --- a/dev-util/pycharm-community/Manifest
20 +++ b/dev-util/pycharm-community/Manifest
21 @@ -1,3 +1,4 @@
22 DIST pycharm-community-2018.3.4.tar.gz 310736836 BLAKE2B 2d43955b4d4299026c3fccd00c42e71b98c314d33857b1f81a84f365efde4b89d29b8c20826a3f89b6dc36fb293d867874edc75d68f5070516a27ccb68034cd2 SHA512 35b133b0db3b7fdbc4f08d0070de5aec8b3f170657c932e5c5c0af2e8c4be8b9e408558a0595794acd73e2ef5085295929b2a11013e6e72b852fead4ce572f60
23 DIST pycharm-community-2018.3.5.tar.gz 311914955 BLAKE2B d4e1e2cc19a416d7f5ecc1ee181c0b6a4e29ee3577800f2426ec84a7a16f53992526b1df8e3ccd43ccbdeeb7f6521d579fad41d145ecfd24408d2d18b9b577d6 SHA512 a81c95397388b243a5b548e2b4bc54f1be3fdedd191c33a90f57a53002d90eb462d5fbc69b2fa88ccb35d8521cd1224e4491928e4c1810a2e7429a6ba6050d36
24 +DIST pycharm-community-2019.1.1.tar.gz 332489780 BLAKE2B 2cc7dcbab5fa321e423991622b4e7c9e41c184312a4b3c3a8b900b1ea2436d9f6009e26ffca12f3335be8bb520941c6ac6b579f3e6f2fc0f1b148a9a00ab1868 SHA512 28d7a3353bec271f0a57bea3c44fc788a5b3a5215dff737ba293c2ce73509d06b217ee1615901c91e5895d61a58a2b696c50ae760b6b3a88b472f3746f28bcbf
25 DIST pycharm-community-2019.1.tar.gz 330592651 BLAKE2B 4165a1bd9cd63e70b9f982bca4324b2aa1db32bc73bf30e521ed5921eb4b03ffe98004d16600c1795cc974d5188c24a17c988c6b37a90a5d038b0492a692275a SHA512 aa411f7354c7954d22e51246349b66a13cf0544a00ee92945ceb072f3636a020b0ee812a84d49c74e2121561af4f96e9fb6f7b26f69bc473c15ed15614fd16ab
26
27 diff --git a/dev-util/pycharm-community/pycharm-community-2019.1.1.ebuild b/dev-util/pycharm-community/pycharm-community-2019.1.1.ebuild
28 new file mode 100644
29 index 00000000000..3bd1b2cb410
30 --- /dev/null
31 +++ b/dev-util/pycharm-community/pycharm-community-2019.1.1.ebuild
32 @@ -0,0 +1,55 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit gnome2-utils readme.gentoo-r1 xdg
39 +
40 +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
41 +HOMEPAGE="http://www.jetbrains.com/pycharm/"
42 +SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +RDEPEND=">=virtual/jre-1.8
49 + dev-libs/libdbusmenu
50 + dev-python/pip"
51 +
52 +RESTRICT="mirror strip"
53 +
54 +QA_PREBUILT="opt/${PN}/bin/fsnotifier
55 + opt/${PN}/bin/fsnotifier64
56 + opt/${PN}/bin/fsnotifier-arm"
57 +
58 +MY_PN=${PN/-community/}
59 +
60 +src_prepare() {
61 + default
62 +
63 + rm -rf jre || die
64 +}
65 +
66 +src_install() {
67 + insinto /opt/${PN}
68 + doins -r *
69 +
70 + fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
71 +
72 + dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
73 + newicon bin/${MY_PN}.png ${PN}.png
74 + make_desktop_entry ${PN} ${PN} ${PN}
75 +
76 + readme.gentoo_create_doc
77 +}
78 +
79 +pkg_postinst() {
80 + xdg_pkg_postinst
81 + gnome2_icon_cache_update
82 +}
83 +
84 +pkg_postrm() {
85 + xdg_pkg_postrm
86 + gnome2_icon_cache_update
87 +}