From 25bc41d618cc90eb09f3e5b0ba29c2d9705085ee Mon Sep 17 00:00:00 2001 From: Tom Li Date: Fri, 22 Aug 2014 01:26:22 +0800 Subject: [PATCH] dev-python/pycharm-community: new package --- dev-python/pycharm-community/Manifest | 1 + .../pycharm-community-3.4.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/pycharm-community/Manifest create mode 100644 dev-python/pycharm-community/pycharm-community-3.4.ebuild diff --git a/dev-python/pycharm-community/Manifest b/dev-python/pycharm-community/Manifest new file mode 100644 index 0000000000..4bad311a6e --- /dev/null +++ b/dev-python/pycharm-community/Manifest @@ -0,0 +1 @@ +DIST pycharm-community-3.4.tar.gz 112814458 SHA256 e63417302c4342fef07e90877beff7d770525ef34150d58585e69c5518b291ab SHA512 c8b4c862157e5fde8557824d0ab4e5e21ffe1066ea05af5853d2976af4ddeb426576dc98ea464eb7d2fc2b2ca862954f427275824cd1cf0205f8a5a688e4f7c7 WHIRLPOOL 1ecdb97c3767d1a24daf13000ed6d8ac9b878e80dee4aa227a5ed03426dbc39660ce221046d9279abea7aa0703db78ae3161f97557d97af3178d722a7f5766a6 diff --git a/dev-python/pycharm-community/pycharm-community-3.4.ebuild b/dev-python/pycharm-community/pycharm-community-3.4.ebuild new file mode 100644 index 0000000000..ed769f5a22 --- /dev/null +++ b/dev-python/pycharm-community/pycharm-community-3.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="The intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels" +HOMEPAGE="http://www.jetbrains.com/pycharm/" +SRC_URI="http://download.jetbrains.com/python/pycharm-community-${PV}.tar.gz" +RESTRICT="strip mirror" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=virtual/jre-1.6" +RDEPEND="${DEPEND}" +S=${WORKDIR} + +src_install() { + dodir /opt/${PN} + + insinto /opt/${PN} + cd ${PN}-${PVERSION} + doins -r * + fperms a+x /opt/${PN}/bin/pycharm.sh || die "fperms failed" + fperms a+x /opt/${PN}/bin/fsnotifier || die "fperms failed" + fperms a+x /opt/${PN}/bin/fsnotifier64 || die "fperms failed" + fperms a+x /opt/${PN}/bin/inspect.sh || die "fperms failed" + dosym /opt/${PN}/bin/pycharm.sh /usr/bin/pycharm + + doicon "bin/${PN}.png" + make_desktop_entry ${PN} "${PN}" "${PN}" +} + +pkg_postinst() { + elog "Run /usr/bin/pycharm" +}