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: Sun, 09 Feb 2020 12:19:51
Message-Id: 1581250784.424e86303c4f6ad5dc65190c657cf4ca699d6266.zlogene@gentoo
1 commit: 424e86303c4f6ad5dc65190c657cf4ca699d6266
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 12:19:06 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 12:19:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424e8630
7
8 dev-util/pycharm-community: Version bump (v2019.3.3)
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 dev-util/pycharm-community/Manifest | 1 +
14 .../pycharm-community-2019.3.3.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 a00c2047b6f..225b62a0713 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.3.1.tar.gz 389620376 BLAKE2B a780ab27feef9747539d9cd607b67c7e047d0a7c1eb6b090a63c4f1c11c80c49e5091a29d80ea249ace1f16acdcd418f0a4901e10c2c623e792da9d7d0e7c9d6 SHA512 4bfa78a5f3993e85ad5ba624ed9e586d195b9f4bffa8bd764e8dba27edc1cdc0bd2b3bba86135156c1f306601db290703e61e7561badc7dcb634dc5826134b1f
23 DIST pycharm-community-2019.3.2.tar.gz 391689310 BLAKE2B 11627839e823e2d6c946f5fa25df28cb919960300c51dcc2883989341228604dad9ebf365ffc055809bf3768d757b40cb059a7b5cc492935733c5576ff3f9933 SHA512 6c9e607d938a23be78b4acb5aa39e6276720347aac6fadfbaf456e4f05af4b55ef24f4a97f3aca91b6f09d68af7ec834a5af5e08b775d1439d573cff6c6d3e7c
24 +DIST pycharm-community-2019.3.3.tar.gz 391606138 BLAKE2B a07bf941ea7a98cadf6ff15b8f69e745ceecf0a820a098811d462a638b0d1b749e1580e23f0cfbdb78a9740e0f41777dd7d505527b6bc83f9c9d5e9ff70a6c95 SHA512 566667109662cffeaba6da9b5e5837adb00f8fbb29523f8415d4fd691cb71f7a40952d28c3713c0409ecbf50ce116ef83bf34a4cbe46015a2a11593771dc97a9
25
26 diff --git a/dev-util/pycharm-community/pycharm-community-2019.3.3.ebuild b/dev-util/pycharm-community/pycharm-community-2019.3.3.ebuild
27 new file mode 100644
28 index 00000000000..0600c9803a8
29 --- /dev/null
30 +++ b/dev-util/pycharm-community/pycharm-community-2019.3.3.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2020 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 +}