Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Sun, 07 Oct 2018 14:55:52
Message-Id: 1538924111.94fd5d6f0cab48436309e4506512eaf603cade4e.grozin@gentoo
1 commit: 94fd5d6f0cab48436309e4506512eaf603cade4e
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 7 14:55:11 2018 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 14:55:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fd5d6f
7
8 dev-util/pycharm-community: bump to 2018.2.4
9
10 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
11 Package-Manager: Portage-2.3.41, Repoman-2.3.9
12
13 dev-util/pycharm-community/Manifest | 1 +
14 .../pycharm-community-2018.2.4.ebuild | 54 ++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
18 index efdcd54a949..6b762287cac 100644
19 --- a/dev-util/pycharm-community/Manifest
20 +++ b/dev-util/pycharm-community/Manifest
21 @@ -1 +1,2 @@
22 DIST pycharm-community-2018.2.1.tar.gz 260758803 BLAKE2B 735d3e7483b46a9be8bf0a8fa88a51352b1048718aab00b63c133a408666e151947ded527b4ed754ce15aff17a3da9396e10b9194e61286f0ed0534d51f0eabe SHA512 bcae7f579664aa9b071eef6fedc68dad8c9e36078c258cee6877ada1247f9051c4d542657ef2b01dce087e273623b84d86d786ddf1e922d7c6599725f50428bd
23 +DIST pycharm-community-2018.2.4.tar.gz 260812419 BLAKE2B 2274d8af513535e4c5b3b69619c944f503dd9f2248a43cf3352221b34c40604f409038d85366321e858037e3c9c63dc838c046917c3102a2d536e4aef05c1636 SHA512 aca812b3355552c6a65865385e82c96fbca06f9caa39fd21723710922865f7aeb38de33eb041efb1e3553e161c34de6d8b8ed724d7c91ba16f3a818711ca9468
24
25 diff --git a/dev-util/pycharm-community/pycharm-community-2018.2.4.ebuild b/dev-util/pycharm-community/pycharm-community-2018.2.4.ebuild
26 new file mode 100644
27 index 00000000000..c37c85ebc8e
28 --- /dev/null
29 +++ b/dev-util/pycharm-community/pycharm-community-2018.2.4.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2018 Gentoo Foundation
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-python/pip"
48 +
49 +RESTRICT="mirror strip"
50 +
51 +QA_PREBUILT="opt/${PN}/bin/fsnotifier
52 + opt/${PN}/bin/fsnotifier64
53 + opt/${PN}/bin/fsnotifier-arm"
54 +
55 +MY_PN=${PN/-community/}
56 +
57 +src_prepare() {
58 + default
59 +
60 + rm -rf jre || die
61 +}
62 +
63 +src_install() {
64 + insinto /opt/${PN}
65 + doins -r *
66 +
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 +
73 + readme.gentoo_create_doc
74 +}
75 +
76 +pkg_postinst() {
77 + xdg_pkg_postinst
78 + gnome2_icon_cache_update
79 +}
80 +
81 +pkg_postrm() {
82 + xdg_pkg_postrm
83 + gnome2_icon_cache_update
84 +}