dev-python/pycharm-professional: new package.

This commit is contained in:
Tom Li committed 2014-08-22 02:14:45 +08:00
1 parent 25bc41d618
commit 34da20d633
3 files changed
+43

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST pycharm-professional-3.4.tar.gz 145641136 SHA256 27fb55e11b9952024978c1e47edb5d8817dafee603a0e22b58707d62828b27fc
@@ -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-professional-${PV}.tar.gz"
RESTRICT="strip mirror"
LICENSE="PyCharm-EULA"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=virtual/jre-1.6"
RDEPEND="${DEPEND}"
S=${WORKDIR}
src_install() {
dodir /opt/${PN}
insinto /opt/${PN}
cd pycharm-${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"
}