From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7350C15808B for ; Tue, 29 Mar 2022 10:51:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC952E0867; Tue, 29 Mar 2022 10:51:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CEB6E0863 for ; Tue, 29 Mar 2022 10:51:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30E8B3414CC for ; Tue, 29 Mar 2022 10:51:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E664349 for ; Tue, 29 Mar 2022 10:50:58 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1648551019.d8e59fdd9d662df01bff4c6dd8bb0b638897d6ec.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pycharm-professional/Manifest dev-util/pycharm-professional/pycharm-professional-2021.3.3.ebuild X-VCS-Directories: dev-util/pycharm-professional/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: d8e59fdd9d662df01bff4c6dd8bb0b638897d6ec X-VCS-Branch: master Date: Tue, 29 Mar 2022 10:50:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3565abeb-728f-4a33-a12c-7f6ca60ebd3b X-Archives-Hash: 0f22af0059c75ce0c84ecc18c32b55f1 commit: d8e59fdd9d662df01bff4c6dd8bb0b638897d6ec Author: 5cat heaven ist> AuthorDate: Mon Mar 28 05:34:17 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Mar 29 10:50:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e59fdd dev-util/pycharm-professional: add 2021.3.3 Signed-off-by: Hashim Almutairi heaven.ist> Closes: https://github.com/gentoo/gentoo/pull/24785 Signed-off-by: Ionen Wolkens gentoo.org> dev-util/pycharm-professional/Manifest | 1 + .../pycharm-professional-2021.3.3.ebuild | 121 +++++++++++++++++++++ 2 files changed, 122 insertions(+) diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest index f7aebae130ea..4a7f38606718 100644 --- a/dev-util/pycharm-professional/Manifest +++ b/dev-util/pycharm-professional/Manifest @@ -1,2 +1,3 @@ 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 +DIST pycharm-professional-2021.3.3.tar.gz 640922827 BLAKE2B c1b622b7e633b4855c3b5bf7d5ebe470b383238c7a91bbdac6b80c5fa297710542ae409043b999f97c79ce99c4d30b5be88e95eca9e642c8a3bd8235dd26c7cf SHA512 6d2ea59716129b30fca15900b8af4a5845d183042febfd33d1553443367dae2d9e80a5386d621ba6128ee67f7c2bc70c2b1da785eb287d4aa7091da75f23b3a1 diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.3.ebuild new file mode 100644 index 000000000000..6812ec1659ec --- /dev/null +++ b/dev-util/pycharm-professional/pycharm-professional-2021.3.3.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 +}