commit:     d91060d79fc86f3fab6434491b04195e6a246fc5
Author:     Mike Auty <mike.auty <AT> gmail <DOT> com>
AuthorDate: Mon Dec  1 01:10:39 2014 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 01:10:39 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=dev/ikelos.git;a=commit;h=d91060d7

Move pycharm-community to match the main tree.

---
 dev-python/pycharm-community/Manifest              |  2 -
 .../pycharm-community-3.4.1.ebuild                 | 41 -----------------
 dev-util/pycharm-community/Manifest                |  3 ++
 dev-util/pycharm-community/files/README.gentoo     |  5 +++
 .../pycharm-community-4.0.1.ebuild                 | 51 ++++++++++++++++++++++
 5 files changed, 59 insertions(+), 43 deletions(-)

diff --git a/dev-python/pycharm-community/Manifest 
b/dev-python/pycharm-community/Manifest
deleted file mode 100644
index 28a88a6..0000000
--- a/dev-python/pycharm-community/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pycharm-community-3.4.1.tar.gz 112821686 SHA256 
96427b1e842e7c09141ec4d3ede627c5ca7d821c0d6c98169b56a34f9035ef64 SHA512 
3f5a4c8c598ed0fe1a28335b63864a5597fe6da3d6de225ada93bbe4342b81db8cc0a96f297b5f0ebe9608b8507f9293419790805b7e24e0151175e952ecd421
 WHIRLPOOL 
efd62eb960902ab26983f51b2904209315b5a9535d6f0c0a45bc9d90df87cafc9d2d720d20e702b1846c0d2083af4e529f6de15184d73996da6164b4b8a38ac2
-EBUILD pycharm-community-3.4.1.ebuild 951 SHA256 
b42d42c004aadedb55c038e1800a6ef9363a0b69ef03c25c9e47c7529f4edbba SHA512 
f5cb4b8e9f888001548138dc880a12ad8fc3902933941e17eb061d593ba89f82854e4c310c7ea4a6799d757ae4b1133d881774c8f634ad0116bddb590d416a60
 WHIRLPOOL 
3e0dc4be9d98904ca4dbf1138c369659f2d0459e355b42d82d8ef6c84f353528407d29738c4da2098721035416746e06478c99bd70e74f62e10834e25e151a6b

diff --git a/dev-python/pycharm-community/pycharm-community-3.4.1.ebuild 
b/dev-python/pycharm-community/pycharm-community-3.4.1.ebuild
deleted file mode 100644
index 2f8c7d8..0000000
--- a/dev-python/pycharm-community/pycharm-community-3.4.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-EAPI="4"
-
-inherit eutils
-
-PBN=$(echo ${PN}|cut -d"-" -f1)
-PB="${PBN}-${PV}"
-
-DESCRIPTION="Powerful Python and Django IDE similar to IntelliJ IDEA"
-HOMEPAGE="www.jetbrains.com/pycharm/"
-SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz";
-
-KEYWORDS="~x86 ~amd64"
-
-DEPEND=">=virtual/jre-1.6"
-RDEPEND="${DEPEND}
-               !dev-util/pycharm-professional"
-RESTRICT="strip mirror"
-
-SLOT="0"
-S=${WORKDIR}
-
-src_prepare() {
-       sed -i ${S}/${P}/bin/${PBN}.sh -e 's/^\(\ *read IGNORE\)/#\1/'
-}
-
-src_install() {
-       dodir /opt/${PN}
-       mv "${S}/${P}" "${D}/opt/${PBN}" || die
-
-       dosym /opt/${PBN}/bin/pycharm.sh /usr/bin/${PBN}
-       doicon "${D}/opt/${PBN}/bin/${PBN}.png"
-       make_desktop_entry ${PBN} "PyCharm ${PV}" ${PBN} "Development;IDE"
-}
-
-pkg_postinst() {
-       ewarn "According to JetBrains, PyCharm has performance and"
-       ewarn "graphics issues with OpenJDK Java."
-       ewarn ""
-       ewarn "Please consider using Oracle JDK."
-       ewarn "Especially before reporting problems upstream."
-}

diff --git a/dev-util/pycharm-community/Manifest 
b/dev-util/pycharm-community/Manifest
new file mode 100644
index 0000000..b783163
--- /dev/null
+++ b/dev-util/pycharm-community/Manifest
@@ -0,0 +1,3 @@
+AUX README.gentoo 169 SHA256 
3bcfb4f4909ec42cbaba2645b5c88d111f47b7d5e800a8aeadf3130091fd8bab SHA512 
a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2
 WHIRLPOOL 
f0de5cc2a1955e210655ee10d305bcfaf6a4a7b6dba46e17eece981d50bb461e9bd5bde772462a5849ebf59e54357bcfe42a5322c614bc75c1f96202654aa605
+DIST pycharm-community-4.0.1.tar.gz 120167832 SHA256 
62dbf4db642f3347852088f29dc84c91acfd8f5f0e05a0dee1f7dd5662d7004a SHA512 
f8aba87a6a88dd343814344006c95260896c4b2ef956492181513cad3fb18b291aafc646603135131d57648981566f80e4a096e9f9a4747087c6ee25e74840b7
 WHIRLPOOL 
f01606acf02e3cced50bc570c5c3037c01d2f3fbe58e6b0434bc11296280917e4d8b6e59a36eb20ab07786efd8b13cdc4a94797cc0dc50fe130574c6b8d89b7c
+EBUILD pycharm-community-4.0.1.ebuild 1170 SHA256 
03a13b965f558df1d464d7cdc1c2f206b1fcab700b754106a562f8e5cd2185cf SHA512 
b096f7ede35db8cd63803bc09de13f6e1320f1e69d09d58b6905163b41c86ee8965336d69497aa7d1715e2da274ef8b02c8fc788b99057c511edc2a7495b8fbc
 WHIRLPOOL 
206d510fd14aa3d2ef7c1441dc9eceb7a3bc547582068c38994f683bfd8221525652855f5a22af873e9c02dee3dfdc0c4119b3bcb87f7c5f775190cad5f1fdb6

diff --git a/dev-util/pycharm-community/files/README.gentoo 
b/dev-util/pycharm-community/files/README.gentoo
new file mode 100644
index 0000000..2164d9e
--- /dev/null
+++ b/dev-util/pycharm-community/files/README.gentoo
@@ -0,0 +1,5 @@
+According to JetBrains, PyCharm has performance and
+graphics issues with OpenJDK Java.
+
+Please consider using Oracle JDK.
+Especially before reporting problems upstream.

diff --git a/dev-util/pycharm-community/pycharm-community-4.0.1.ebuild 
b/dev-util/pycharm-community/pycharm-community-4.0.1.ebuild
new file mode 100644
index 0000000..8abf7e0
--- /dev/null
+++ b/dev-util/pycharm-community/pycharm-community-4.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: 
/var/cvsroot/gentoo-x86/dev-util/pycharm-community/pycharm-community-3.4.1.ebuild,v
 1.1 2014/09/14 16:08:17 xmw Exp $
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils readme.gentoo
+
+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"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.6
+         !dev-util/pycharm-professional"
+DEPEND=""
+
+RESTRICT="mirror strip"
+
+MY_PN=${PN/-community/}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       fdo-mime_desktop_database_update
+}
+
+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_src_install
+}

Reply via email to