Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Sun, 29 Jul 2018 20:21:33
Message-Id: 1532895670.f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c.xmw@gentoo
1 commit: f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 29 20:21:10 2018 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 29 20:21:10 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f6ec6f
7
8 dev-util/pycharm-community: Version bump.
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 dev-util/pycharm-community/Manifest | 1 +
13 .../pycharm-community-2018.2.ebuild | 54 ++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
17 index 4b79a6e00d8..27a295cd450 100644
18 --- a/dev-util/pycharm-community/Manifest
19 +++ b/dev-util/pycharm-community/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pycharm-community-2017.3.4.tar.gz 279847033 BLAKE2B 451540aae6434f39a94a664d4aa8747071c9c045793a7d445bf1acf4c0412309448b9e05b01c7e86d5b6915d144cb5175956981597d24064b2a7f934bd043bf3 SHA512 0478ca55a0dbd45b54c3d1af45a6cfdc562f0a863e3fe09922421ed121e22f5182c71fbc05b0e9fe7a8e92b197f6ad473da34b30b867297690d7bd9df5fda730
22 DIST pycharm-community-2018.1.4.tar.gz 271284732 BLAKE2B 806fb3774f08cd94ea525a3e3a6de3b1a17f1340e093e897ab185b7e08a4f389b627b5f3b5233421ef6c1468f36ec205bfaac73f3b8f151f57c23f0ce44ad3ea SHA512 00040aa0f6d6cc60837277c1413b155b82ec580c6619d425aeb8c50521c11c17654549901a3c324d335d8818120e1e9e730ec03a03722058aa1064685e17cbce
23 +DIST pycharm-community-2018.2.tar.gz 260724936 BLAKE2B 0c8882d8f2a115a172140e8312ef331cdaaeb41fd5ea6adf3091593d8635f63a616ad5dc710447b7e148c9d83d5ece98ccfd71f4af6663ff89296259b729c0aa SHA512 d2b46e7463010186fb633a17c2833cca397ffd001679495fd3aca034e4feeebbf7e19c4803f6588d23e15afbf3e6850b2880b7867e7f9cfeeab338e7c7322669
24
25 diff --git a/dev-util/pycharm-community/pycharm-community-2018.2.ebuild b/dev-util/pycharm-community/pycharm-community-2018.2.ebuild
26 new file mode 100644
27 index 00000000000..c37c85ebc8e
28 --- /dev/null
29 +++ b/dev-util/pycharm-community/pycharm-community-2018.2.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 +}