Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Sat, 31 Mar 2018 22:18:03
Message-Id: 1522534538.6af65b2d5adad504314c6a87e01be8bcd4f35656.mrueg@gentoo
1 commit: 6af65b2d5adad504314c6a87e01be8bcd4f35656
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 31 22:15:38 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 31 22:15:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af65b2d
7
8 dev-util/pycharm-community: Version bump to 2018.1
9
10 Package-Manager: Portage-2.3.27, Repoman-2.3.9
11
12 dev-util/pycharm-community/Manifest | 1 +
13 .../pycharm-community-2018.1.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
17 index c66d4a0c569..2f30a809615 100644
18 --- a/dev-util/pycharm-community/Manifest
19 +++ b/dev-util/pycharm-community/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pycharm-community-2017.3.3.tar.gz 279677180 BLAKE2B 373276332c918a325290e9ca0fa37ac7512025e0c0ee8149c3c08321b0477a0a5263fc24dece443c471f2a96a1b147153b0952466e374acf62389e1c49a1f114 SHA512 d4e9dffa7d2abef825fdbe7ce2665e2d249b18d81f7dab5051a0a2fda7896e5df7cce16e19518225dd23205c346df8fc5c5b3cb39280886004340cba60aeacd4
22 DIST pycharm-community-2017.3.4.tar.gz 279847033 BLAKE2B 451540aae6434f39a94a664d4aa8747071c9c045793a7d445bf1acf4c0412309448b9e05b01c7e86d5b6915d144cb5175956981597d24064b2a7f934bd043bf3 SHA512 0478ca55a0dbd45b54c3d1af45a6cfdc562f0a863e3fe09922421ed121e22f5182c71fbc05b0e9fe7a8e92b197f6ad473da34b30b867297690d7bd9df5fda730
23 DIST pycharm-community-2017.3.tar.gz 282451011 BLAKE2B 250265d7cb0cb3ba94733c9404f6bc1c6e4f62207721011e9eec65780f9e4c92148626065051a1e875124d013cff488c8d7ab9861c094bf4a33c0b8596e717e9 SHA512 4e835f671971171966f52a4219f47fda2675b2fcf38f0f91ff90b1aa00508ed3b5445a488750c6e9d82515780e9f190201da918230c0b80d869d6b16ab352cc6
24 +DIST pycharm-community-2018.1.tar.gz 264891672 BLAKE2B 4fc85276f1e214ac4f03c11593dfa4e9d50bdca043192816c5bd4f768df436c83ec723683315e8b3558a7129542e371c47945e531d977567e8d87f78b412add4 SHA512 41090a3973a19a53440b68625a1dd448e5c92b07813ab8497478867a06d0b847668db2e9bb179caa967fdaac914073a43fa6db5ec371cc17c491f9614a2ce600
25
26 diff --git a/dev-util/pycharm-community/pycharm-community-2018.1.ebuild b/dev-util/pycharm-community/pycharm-community-2018.1.ebuild
27 new file mode 100644
28 index 00000000000..4cba69da598
29 --- /dev/null
30 +++ b/dev-util/pycharm-community/pycharm-community-2018.1.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 +}