dev-python/pycharm-community: new package

This commit is contained in:
Tom Li committed 2014-08-22 01:26:22 +08:00
1 parent 2582eefe3b
commit 25bc41d618
2 files changed
+42

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST pycharm-community-3.4.tar.gz 112814458 SHA256 e63417302c4342fef07e90877beff7d770525ef34150d58585e69c5518b291ab SHA512 c8b4c862157e5fde8557824d0ab4e5e21ffe1066ea05af5853d2976af4ddeb426576dc98ea464eb7d2fc2b2ca862954f427275824cd1cf0205f8a5a688e4f7c7 WHIRLPOOL 1ecdb97c3767d1a24daf13000ed6d8ac9b878e80dee4aa227a5ed03426dbc39660ce221046d9279abea7aa0703db78ae3161f97557d97af3178d722a7f5766a6
@@ -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"
}