summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2018-07-29 22:21:10 +0200
committerMichael Weber <xmw@gentoo.org>2018-07-29 22:21:10 +0200
commitf4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c (patch)
treef48f31ac15e202d81f488b98944aa36af9c628a4 /dev-util/pycharm-community
parentdev-python/pew: Add shutilwhich dependency (diff)
downloadgentoo-f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c.tar.gz
gentoo-f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c.tar.bz2
gentoo-f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c.zip
dev-util/pycharm-community: Version bump.
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'dev-util/pycharm-community')
-rw-r--r--dev-util/pycharm-community/Manifest1
-rw-r--r--dev-util/pycharm-community/pycharm-community-2018.2.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
index 4b79a6e00d8..27a295cd450 100644
--- a/dev-util/pycharm-community/Manifest
+++ b/dev-util/pycharm-community/Manifest
@@ -1,2 +1,3 @@
DIST pycharm-community-2017.3.4.tar.gz 279847033 BLAKE2B 451540aae6434f39a94a664d4aa8747071c9c045793a7d445bf1acf4c0412309448b9e05b01c7e86d5b6915d144cb5175956981597d24064b2a7f934bd043bf3 SHA512 0478ca55a0dbd45b54c3d1af45a6cfdc562f0a863e3fe09922421ed121e22f5182c71fbc05b0e9fe7a8e92b197f6ad473da34b30b867297690d7bd9df5fda730
DIST pycharm-community-2018.1.4.tar.gz 271284732 BLAKE2B 806fb3774f08cd94ea525a3e3a6de3b1a17f1340e093e897ab185b7e08a4f389b627b5f3b5233421ef6c1468f36ec205bfaac73f3b8f151f57c23f0ce44ad3ea SHA512 00040aa0f6d6cc60837277c1413b155b82ec580c6619d425aeb8c50521c11c17654549901a3c324d335d8818120e1e9e730ec03a03722058aa1064685e17cbce
+DIST pycharm-community-2018.2.tar.gz 260724936 BLAKE2B 0c8882d8f2a115a172140e8312ef331cdaaeb41fd5ea6adf3091593d8635f63a616ad5dc710447b7e148c9d83d5ece98ccfd71f4af6663ff89296259b729c0aa SHA512 d2b46e7463010186fb633a17c2833cca397ffd001679495fd3aca034e4feeebbf7e19c4803f6588d23e15afbf3e6850b2880b7867e7f9cfeeab338e7c7322669
diff --git a/dev-util/pycharm-community/pycharm-community-2018.2.ebuild b/dev-util/pycharm-community/pycharm-community-2018.2.ebuild
new file mode 100644
index 00000000000..c37c85ebc8e
--- /dev/null
+++ b/dev-util/pycharm-community/pycharm-community-2018.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils readme.gentoo-r1 xdg
+
+DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
+HOMEPAGE="http://www.jetbrains.com/pycharm/"
+SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8
+ dev-python/pip"
+
+RESTRICT="mirror strip"
+
+QA_PREBUILT="opt/${PN}/bin/fsnotifier
+ opt/${PN}/bin/fsnotifier64
+ opt/${PN}/bin/fsnotifier-arm"
+
+MY_PN=${PN/-community/}
+
+src_prepare() {
+ default
+
+ rm -rf jre || die
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r *
+
+ fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
+
+ dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
+ newicon bin/${MY_PN}.png ${PN}.png
+ make_desktop_entry ${PN} ${PN} ${PN}
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+}