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 0452815800A for ; Thu, 20 Jul 2023 16:05:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECE4EE086A; Thu, 20 Jul 2023 16:05:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A12F9E086A for ; Thu, 20 Jul 2023 16:05:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3ACF335D0D for ; Thu, 20 Jul 2023 16:05:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41BE9B8B for ; Thu, 20 Jul 2023 16:05:35 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1689869117.20aab19d79c2aab663f58e68a66defb82199a1c0.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pycharm-community/Manifest dev-util/pycharm-community/pycharm-community-2023.1.4.ebuild X-VCS-Directories: dev-util/pycharm-community/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 20aab19d79c2aab663f58e68a66defb82199a1c0 X-VCS-Branch: master Date: Thu, 20 Jul 2023 16:05:35 +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: f19dc12d-ee56-42ae-b90c-8768cf68b00f X-Archives-Hash: 62d779d1c80c11cedd15f57979aa1172 commit: 20aab19d79c2aab663f58e68a66defb82199a1c0 Author: Andrey Grozin gentoo org> AuthorDate: Thu Jul 20 16:05:17 2023 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Thu Jul 20 16:05:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20aab19d dev-util/pycharm-community: bump to 2023.1.4 Signed-off-by: Andrey Grozin gentoo.org> dev-util/pycharm-community/Manifest | 1 + .../pycharm-community-2023.1.4.ebuild | 123 +++++++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest index 341ec1d87b07..7920e128e0f2 100644 --- a/dev-util/pycharm-community/Manifest +++ b/dev-util/pycharm-community/Manifest @@ -1,2 +1,3 @@ DIST pycharm-community-2023.1.1.tar.gz 577304778 BLAKE2B c630c4a21edc2c36e972965e35df63500dafe8ecbd5eee9c6246785bf9e6962e048759a8674160fd47de810a75ffcefe0df14149746ca789b8064623551bed19 SHA512 d0c2419b77ca34c04579f8d52a20427a927fc4d7b3edb1e7787ed515cdc3777b19d963c22975c932c3e568c1861ec7806955514921a1156e497b584f816cd6a2 DIST pycharm-community-2023.1.2.tar.gz 577374290 BLAKE2B ed21b0874f4d0fc575f5b8e9e4e1ec23706de7216009ffd27440dac245f0513566b9df6e3a962ee5df9783aa9f6c9ce2c626883d173723222d08b5288d71f153 SHA512 1d251cfeef0b7c6a5d7fa563ddef99df2c143116e893878346c04788776052aba2cbb0c790e6fe72ad44e86f785bcb76e2cefae15bda387c0a48a6d01b429813 +DIST pycharm-community-2023.1.4.tar.gz 577477377 BLAKE2B a4cff0cefd50d047c9593af2af1911f45adc9065e944e5fc3f6f260a978e42f564bce70a90548de837e586142630ea85b2f69c413388eb37280b193df84c0260 SHA512 e0eaffe7e99473f096e77a9baa58f1a1c615da85903462c8221e6788bd4680acf6b13446ba5c09de0f281a02bbcbbc56b7500a688ceeae64246eb76dd85ff506 diff --git a/dev-util/pycharm-community/pycharm-community-2023.1.4.ebuild b/dev-util/pycharm-community/pycharm-community-2023.1.4.ebuild new file mode 100644 index 000000000000..2633a29ce241 --- /dev/null +++ b/dev-util/pycharm-community/pycharm-community-2023.1.4.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop readme.gentoo-r1 wrapper xdg-utils + +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="Apache-2.0 BSD CDDL MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+bundled-jdk" + +BDEPEND="dev-util/patchelf" + +RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) + app-arch/brotli + app-arch/zstd + app-crypt/p11-kit + dev-libs/fribidi + dev-libs/glib + dev-libs/json-c + dev-libs/libbsd + dev-libs/libdbusmenu + dev-libs/nss + dev-libs/wayland + dev-python/pip + media-fonts/dejavu + media-gfx/graphite2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2= + media-libs/harfbuzz + media-libs/libglvnd + media-libs/libjpeg-turbo:0= + media-libs/libpng:0= + net-libs/gnutls + net-print/cups + sys-apps/dbus + sys-libs/libcap + sys-libs/zlib + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXext + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" + +RESTRICT="mirror" + +QA_PREBUILT="opt/${P}/*" + +MY_PN=${PN/-community/} + +src_prepare() { + default + + rm -vf "${S}"/help/ReferenceCardForMac.pdf || die + + rm -vf "${S}"/bin/phpstorm.vmoptions || die + + rm -vf "${S}"/plugins/performanceTesting/bin/libyjpagent.so || die + rm -vf "${S}"/plugins/performanceTesting/bin/*.dll || die + rm -vf "${S}"/plugins/performanceTesting/bin/libyjpagent.dylib || die + rm -vrf "${S}"/lib/pty4j-native/linux/{aarch64,arm,mips64el,ppc64le,x86} || die + rm -vf "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so + + 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 + + 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,pycharm.sh,restart.py} + + fperms 755 "${DIR}"/"${JRE_DIR}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver} + 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 + dodir /etc/sysctl.d/ + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}