1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils readme.gentoo-r1
8 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
9 HOMEPAGE="http://www.jetbrains.com/pycharm/"
10 SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
12 LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND=">=virtual/jre-1.8"
20 RESTRICT="mirror strip"
22 QA_PREBUILT="opt/${PN}/bin/fsnotifier
23 opt/${PN}/bin/fsnotifier64
24 opt/${PN}/bin/fsnotifier-arm"
26 MY_PN=${PN/-community/}
38 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
40 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
41 newicon "bin/${MY_PN}.png" ${PN}.png
42 make_desktop_entry ${PN} "${PN}" "${PN}"
44 readme.gentoo_create_doc