1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit gnome2-utils readme.gentoo-r1 xdg
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="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
14 KEYWORDS="~amd64 ~x86"
16 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
25 opt/${PN}/bin/libyjpagent-linux.so
26 opt/${PN}/bin/libyjpagent-linux64.so"
28 MY_PN=${PN/-professional/}
29 S="${WORKDIR}/${MY_PN}-${PV}"
41 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
43 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
44 newicon bin/${MY_PN}.png ${PN}.png
45 make_desktop_entry ${PN} ${PN} ${PN}
47 readme.gentoo_create_doc
52 gnome2_icon_cache_update
57 gnome2_icon_cache_update