summaryrefslogtreecommitdiff
path: root/dev-util/pycharm-professional
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-util/pycharm-professional
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-util/pycharm-professional')
-rw-r--r--dev-util/pycharm-professional/Manifest2
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2021.3.2.ebuild121
2 files changed, 123 insertions, 0 deletions
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest
index 04705d8e05b3..e5e9b3cbdaf8 100644
--- a/dev-util/pycharm-professional/Manifest
+++ b/dev-util/pycharm-professional/Manifest
@@ -1,4 +1,6 @@
AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2
DIST pycharm-professional-2021.1.2.tar.gz 580807899 BLAKE2B ba21f9ba000c34f3073b778b7314c727e5204de480afd34fd79e97aca2da673252324897d3f40bda998e8d6ad2645c173f9c0abfbaf745de2c58782faa18c29d SHA512 c76c3113c620084cb6a3a647998cde61b3a6b2e9ff05870469f3f980295d5853911521095e26fae365cd94d2f6843866ced39db5e510bef3495931c60094f49c
+DIST pycharm-professional-2021.3.2.tar.gz 641411471 BLAKE2B 783ec78e87663b464f8aee41ef561e2bb4d44b2b5eb87cf320f32d5edcb36a36da294639f76ef13588aaac45a9ffe4db0fe91032a1fbdf62581990ad7df3f672 SHA512 abb59cfa74afa1fc7bc0590cfb6fe8afa3bf3adbc25a4eccc2f80974f43f47300f3587edba269f3044cd84e9ccff346e9a78c6ce43e6159945b3740afb9685c1
EBUILD pycharm-professional-2021.1.2-r1.ebuild 3268 BLAKE2B 6faa46fe37be0396878a12d2fdc26ac332d6dbf75ba108b0aa81880af6bc316003b89afba7b67bdbfcb9947454f68cff6fd305d1075d350259206460b6b8830d SHA512 8694257403d8db978feec69b73546c59bc90db1c618ab10eaa1df56223f8e0d9cc07f15f05851e8781150c9cf1735917a592da6053208f77482e47aa1c238882
+EBUILD pycharm-professional-2021.3.2.ebuild 3260 BLAKE2B 70b0a61bcec3e6b907a69ae02da1bae7ffc6b08f7b78174907afbd2272299943d22421f479b92375d6ea9001411c0338da65e69a1e854eb45821f43f20929e59 SHA512 65ca41e817a9b2dc892dcaf47c9f09f58b048701c38ecc32c2e76901923e9833bb01c06d791ab1474b7c7db999783cc641ea2ac933ad5fd58e5904a7f2bd404a
MISC metadata.xml 229 BLAKE2B 1b25fb59c17f81a5c4b6dce7e07acb9de3bc64fef368805a0e1b45043dc13ab4898990b02b35d25ec3eb586aa67e236cc56519ed9a6bdb0d940f91b280e83141 SHA512 fcff4719a8e6c3cb446c48872c2278fa50ace7765d204b58d24f9ac0d47cb9fdaa7ed37080290ebc06d8dae864ccfdd8a48c9d9251a69862a6e5b58d5c26969b
diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.2.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.2.ebuild
new file mode 100644
index 000000000000..6812ec1659ec
--- /dev/null
+++ b/dev-util/pycharm-professional/pycharm-professional-2021.3.2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop readme.gentoo-r1 wrapper
+
+MY_PN=${PN/-professional/}
+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"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bundled-jdk"
+RESTRICT="mirror"
+
+RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
+ dev-python/pip
+ media-fonts/dejavu
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/freetype
+ media-libs/mesa[gbm(+)]
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/zlib
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libxkbcommon
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libxshmfence
+ x11-libs/libXtst
+ x11-libs/libXxf86vm
+"
+BDEPEND="dev-util/patchelf"
+
+QA_PREBUILT="opt/${PN}/*"
+
+src_prepare() {
+ default
+ local remove_me=(
+ help/ReferenceCardForMac.pdf
+ lib/pty4j-native/linux/aarch64
+ lib/pty4j-native/linux/arm
+ lib/pty4j-native/linux/mips64el
+ lib/pty4j-native/linux/ppc64le
+ lib/pty4j-native/linux/$(usex amd64 x86 x86_64)
+ plugins/remote-dev-server/selfcontained
+ plugins/performanceTesting/bin/libyjpagent.so
+ plugins/performanceTesting/bin/*.dll
+ plugins/performanceTesting/bin/libyjpagent.dylib
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
+ plugins/wsl-fs-helper
+ )
+
+ rm -rv "${remove_me[@]}" || die
+
+ sed -i \
+ -e "\$a\\\\" \
+ -e "\$a#-----------------------------------------------------------------------" \
+ -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
+ -e "\$a# package manager. See bug #704494" \
+ -e "\$a#-----------------------------------------------------------------------" \
+ -e "\$aide.no.platform.update=Gentoo" \
+ bin/idea.properties || die
+
+ local file
+ for file in jbr/lib/{libjcef.so,jcef_helper}; do
+ if [[ -f ${file} ]]; then
+ patchelf --set-rpath '$ORIGIN' ${file} || die
+ fi
+ done
+}
+
+src_install() {
+ local dir="/opt/${PN}"
+ local jre_dir="jbr"
+
+ insinto ${dir}
+ doins -r *
+
+ if ! use bundled-jdk; then
+ rm -r "${jre_dir}" || die
+ fi
+
+ fperms 755 ${dir}/bin/{format.sh,fsnotifier,inspect.sh,ltedit.sh,printenv.py,pycharm.sh,restart.py}
+
+ fperms 755 ${dir}/${jre_dir}/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,jinfo,jjs,jmap,jps,jrunscript,jstack,jstat,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
+ fperms 755 ${dir}/${jre_dir}/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+
+ make_wrapper ${PN} ${dir}/bin/pycharm.sh
+ newicon bin/${MY_PN}.png ${PN}.png
+ make_desktop_entry ${PN} ${PN} ${PN}
+
+ readme.gentoo_create_doc
+
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+ insinto /usr/lib/sysctl.d
+ newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}