Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Fri, 26 Jan 2018 21:22:46
Message-Id: 1517001736.b584dff1d626f78c0adae21a56cef3413452f4fd.monsieurp@gentoo
1 commit: b584dff1d626f78c0adae21a56cef3413452f4fd
2 Author: cklaucke <33376323+cklaucke <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Mon Jan 1 12:18:21 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 26 21:22:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b584dff1
7
8 dev-util/pycharm-community: version bump to 2017.3.3.
9
10 Bug: https://bugs.gentoo.org/642948
11 Closes: https://github.com/gentoo/gentoo/pull/6707
12
13 dev-util/pycharm-community/Manifest | 1 +
14 .../pycharm-community-2017.3.3.ebuild | 53 ++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
18 index d3c6b94ee6d..61305e0f1bc 100644
19 --- a/dev-util/pycharm-community/Manifest
20 +++ b/dev-util/pycharm-community/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pycharm-community-2017.3.1.tar.gz 279798932 BLAKE2B e442ffb2445915a14408a7a7221bfd256a4ca13a654db91dad5f267304fff666238b624c0448ff80b620bb73b2839093d7df678745715feba49941907030024a SHA512 0fe8a80751954e9cd9b6cae63e16b75f22095cddd784f9adfe1073ee62ec1aecf8f60ba2c332a575e70f2c0d312150f8d5129a9d1c539b541ccc6b0b8a37961a
23 +DIST pycharm-community-2017.3.3.tar.gz 279677180 BLAKE2B 373276332c918a325290e9ca0fa37ac7512025e0c0ee8149c3c08321b0477a0a5263fc24dece443c471f2a96a1b147153b0952466e374acf62389e1c49a1f114 SHA512 d4e9dffa7d2abef825fdbe7ce2665e2d249b18d81f7dab5051a0a2fda7896e5df7cce16e19518225dd23205c346df8fc5c5b3cb39280886004340cba60aeacd4
24 DIST pycharm-community-2017.3.tar.gz 282451011 BLAKE2B 250265d7cb0cb3ba94733c9404f6bc1c6e4f62207721011e9eec65780f9e4c92148626065051a1e875124d013cff488c8d7ab9861c094bf4a33c0b8596e717e9 SHA512 4e835f671971171966f52a4219f47fda2675b2fcf38f0f91ff90b1aa00508ed3b5445a488750c6e9d82515780e9f190201da918230c0b80d869d6b16ab352cc6
25
26 diff --git a/dev-util/pycharm-community/pycharm-community-2017.3.3.ebuild b/dev-util/pycharm-community/pycharm-community-2017.3.3.ebuild
27 new file mode 100644
28 index 00000000000..4cba69da598
29 --- /dev/null
30 +++ b/dev-util/pycharm-community/pycharm-community-2017.3.3.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2018 Gentoo Foundation
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 +
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 +}