diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pycharm-professional/Manifest | 1 | ||||
-rw-r--r-- | dev-util/pycharm-professional/pycharm-professional-2021.1.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest index 3a6b0fbc4bb8..0d6c868d1f06 100644 --- a/dev-util/pycharm-professional/Manifest +++ b/dev-util/pycharm-professional/Manifest @@ -2,3 +2,4 @@ DIST pycharm-professional-2020.1.1.tar.gz 507346192 BLAKE2B eb035967475fa1baf783 DIST pycharm-professional-2020.1.3.tar.gz 508036989 BLAKE2B 13bca1d093596bfedcad3c7837ab26c21631d15b5dce9ca62798baab281a7a4736e35fcbd96acc94b8e336119398c82c23583798ad53555eb8f1eac86febf031 SHA512 57a7878d3ee817778c7e1087d97e4d7a615fdd2f987fafecf4c6bcd7e1c0e7c1cb4411283214849cbd76fa92a2b98a074045b52cf1cd306f2e2995ed3b53e0e0 DIST pycharm-professional-2020.1.tar.gz 507643980 BLAKE2B f0869ebec8ae6396a4ff9579214a913be631d52e67cf12b437800a6f3292c96bef67b8b813bb9d703a2b6893ad27835a6868cce5ac4f3db818bacc2de4aed87c SHA512 23737bdd8bafb57dab794b4c874e6d14bb3b2591706bf13a835b0172fbe914ade932c701a313d982d7c393d02b15629a8273f3be092a92178ed0bfd4eff9baa5 DIST pycharm-professional-2020.3.tar.gz 614570714 BLAKE2B 48ecb93a8db053b2b5983392b6270388fc1bf0ddf18e99453d04f87975ac3b8accfe14895b23db9d0b2eb199c0a64c9b137ea09142fc0cbe0d2ca6196ca2ec55 SHA512 e0c726abddbb98dc5d23043e6e5d2e41a3b813c18352ee3ad9596f0c37bdadfdefba3c74890bb9d2e9c0c8f6114841c2b52c6af2169e021256060452aacb7ec7 +DIST pycharm-professional-2021.1.2.tar.gz 580807899 BLAKE2B ba21f9ba000c34f3073b778b7314c727e5204de480afd34fd79e97aca2da673252324897d3f40bda998e8d6ad2645c173f9c0abfbaf745de2c58782faa18c29d SHA512 c76c3113c620084cb6a3a647998cde61b3a6b2e9ff05870469f3f980295d5853911521095e26fae365cd94d2f6843866ced39db5e510bef3495931c60094f49c diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.1.2.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.1.2.ebuild new file mode 100644 index 000000000000..23658c48886d --- /dev/null +++ b/dev-util/pycharm-professional/pycharm-professional-2021.1.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop gnome2-utils readme.gentoo-r1 xdg + +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis" +HOMEPAGE="http://www.jetbrains.com/pycharm/" +SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz" + +LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+bundled-jdk" + +RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) + dev-libs/libdbusmenu + dev-python/pip" + +RESTRICT="mirror strip" + +QA_PREBUILT="*" + +MY_PN=${PN/-professional/} +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + insinto /opt/${PN} + doins -r * + + if use bundled-jdk; then + fperms -R a+x /opt/pycharm-professional/jbr/bin/ + else + rm -r "${D}"/opt/pycharm-professional/jbr/ || die + fi + + fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh} + + dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN} + newicon bin/${MY_PN}.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN} + + local rub + + for rub in aarch64 mips64el ppc64le; do + rm -r "${D}"/opt/pycharm-professional/lib/pty4j-native/linux/${rub} || die + done + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +} |