From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1039465-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 00645138334
	for <garchives@archives.gentoo.org>; Sun, 29 Jul 2018 20:21:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8741EE08C8;
	Sun, 29 Jul 2018 20:21:32 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 40D9FE08C8
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Jul 2018 20:21:31 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 27CF0335C9F
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Jul 2018 20:21:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E4A70377
	for <gentoo-commits@lists.gentoo.org>; Sun, 29 Jul 2018 20:21:27 +0000 (UTC)
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" <xmw@gentoo.org>
Message-ID: <1532895670.f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c.xmw@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/pycharm-community/Manifest dev-util/pycharm-community/pycharm-community-2018.2.ebuild
X-VCS-Directories: dev-util/pycharm-community/
X-VCS-Committer: xmw
X-VCS-Committer-Name: Michael Weber
X-VCS-Revision: f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c
X-VCS-Branch: master
Date: Sun, 29 Jul 2018 20:21:27 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 5fee13a2-886f-4a23-8a86-78dbdb642502
X-Archives-Hash: 7811664c21a0a01abcaefd399bd557f8

commit:     f4f6ec6f3d5a9ff0b587762f4bc13cc3aaf22f4c
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 29 20:21:10 2018 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Jul 29 20:21:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f6ec6f

dev-util/pycharm-community: Version bump.

Package-Manager: Portage-2.3.42, Repoman-2.3.9

 dev-util/pycharm-community/Manifest                |  1 +
 .../pycharm-community-2018.2.ebuild                | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

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
+}