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