public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/
Date: Sun, 13 Mar 2022 02:59:55 +0000 (UTC)	[thread overview]
Message-ID: <1647139945.8ae1558e8cb34c62669b7d0b14fae70c5baab9c2.ionen@gentoo> (raw)

commit:     8ae1558e8cb34c62669b7d0b14fae70c5baab9c2
Author:     5cat <2019.ger <AT> gmail <DOT> com>
AuthorDate: Sat Mar 12 21:04:22 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 02:52:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae1558e

dev-util/pycharm-professional: add 2021.3.2

Signed-off-by: Hashim Almutairi <gentoo <AT> heaven.ist>
Closes: https://bugs.gentoo.org/804459
Closes: https://bugs.gentoo.org/804462
Closes: https://bugs.gentoo.org/804465
Closes: https://github.com/gentoo/gentoo/pull/24520
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-util/pycharm-professional/Manifest             |   1 +
 .../pycharm-professional-2021.3.2.ebuild           | 121 +++++++++++++++++++++
 2 files changed, 122 insertions(+)

diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest
index 00dd7f961238..f7aebae130ea 100644
--- a/dev-util/pycharm-professional/Manifest
+++ b/dev-util/pycharm-professional/Manifest
@@ -1 +1,2 @@
 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

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
+}


             reply	other threads:[~2022-03-13  2:59 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13  2:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-17 18:03 [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/ Viorel Munteanu
2025-02-17 18:03 Viorel Munteanu
2024-12-05  7:51 Joonas Niilola
2024-12-03 20:58 Joonas Niilola
2024-11-23 16:20 Michał Górny
2024-05-13 17:33 Ulrich Müller
2024-05-13 16:11 Ulrich Müller
2024-02-24 13:30 Joonas Niilola
2024-02-24 13:30 Joonas Niilola
2023-12-01 20:13 Arthur Zamarin
2023-12-01 20:03 Arthur Zamarin
2023-09-16  7:57 Joonas Niilola
2023-09-16  7:57 Joonas Niilola
2023-01-06 20:13 Arthur Zamarin
2023-01-06 20:03 Arthur Zamarin
2022-04-14 17:49 Ionen Wolkens
2022-04-11 19:13 Conrad Kostecki
2022-03-29 10:50 Ionen Wolkens
2021-10-21 19:57 Mikle Kolyada
2021-07-17 14:19 Mikle Kolyada
2021-06-26  6:15 Mikle Kolyada
2021-06-25 19:24 Mikle Kolyada
2021-06-25 19:24 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-07-15  7:32 Mikle Kolyada
2020-07-15  7:11 Mikle Kolyada
2020-05-13 10:33 Mikle Kolyada
2020-05-13 10:21 Mikle Kolyada
2020-04-09 13:47 Mikle Kolyada
2020-03-21  8:42 Mikle Kolyada
2020-02-09 12:22 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2019-12-29  8:48 Mikle Kolyada
2019-12-11 12:44 Mikle Kolyada
2019-11-22  9:24 Mikle Kolyada
2019-11-02 13:37 Mikle Kolyada
2019-10-27 19:46 Mikle Kolyada
2019-10-27 19:46 Mikle Kolyada
2019-09-27 18:13 Mikle Kolyada
2019-09-26 18:42 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-06-14  7:43 Mikle Kolyada
2019-05-26 10:34 Mikle Kolyada
2019-05-26 10:34 Mikle Kolyada
2019-05-08 10:22 Mikle Kolyada
2019-04-04 16:13 Mikle Kolyada
2019-04-04 16:08 Mikle Kolyada
2019-03-28 10:37 Mikle Kolyada
2019-03-08 18:18 Mikle Kolyada
2019-03-08 18:18 Mikle Kolyada
2019-02-28 10:38 Mikle Kolyada
2019-01-30 20:30 Mikle Kolyada
2019-01-11 10:24 Mikle Kolyada
2018-12-22  7:53 Mikle Kolyada
2018-12-06 18:29 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-25 18:25 Mikle Kolyada
2018-10-28 16:37 Manuel Rüger
2018-09-16  2:30 Mikle Kolyada
2018-08-19 19:03 Michael Weber
2018-07-29 21:31 Michael Weber
2018-06-08 20:16 Michael Weber
2018-06-08 20:16 Michael Weber
2018-04-18 11:40 Mikle Kolyada
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 22:21 Michael Weber
2018-04-16 22:21 Michael Weber
2018-04-12 20:54 Thomas Deutschmann
2018-03-31 22:17 Manuel Rüger
2018-03-31 21:52 Aaron Bauman
2018-03-26  6:44 Michael Weber
2018-01-26 21:22 Patrice Clement
2017-12-22 10:17 Michael Weber
2017-12-22 10:17 Michael Weber
2017-12-22 10:17 Michael Weber
2017-12-11  0:48 Michael Weber
2017-12-08 18:34 Michael Weber
2017-11-30 13:33 Manuel Rüger
2017-11-29 15:24 Mikle Kolyada
2017-11-03 14:48 Manuel Rüger
2017-09-15 11:41 Manuel Rüger
2017-09-15 11:41 Manuel Rüger
2017-07-19 15:21 Manuel Rüger
2017-03-28  8:36 Michael Weber
2017-03-09 10:58 Michael Weber
2017-03-09 10:58 Michael Weber
2017-02-12 15:55 Michael Weber
2017-02-12 15:44 Agostino Sarubbo
2017-02-09 14:37 Agostino Sarubbo
2017-02-07 21:14 Michael Weber
2017-02-07 20:40 Michael Weber
2016-10-16 21:45 Manuel Rüger
2016-08-31 21:07 Manuel Rüger
2016-08-19 14:56 Michael Weber
2016-07-05 14:36 Michael Weber
2016-07-05 14:36 Michael Weber
2016-06-10 13:53 Agostino Sarubbo
2016-05-16 22:05 Manuel Rüger
2016-05-04 11:54 Manuel Rüger
2016-05-04 11:39 Manuel Rüger
2016-03-25 18:57 Manuel Rüger
2016-03-25 18:57 Manuel Rüger
2016-03-25 16:55 Manuel Rüger
2016-02-28 23:19 Manuel Rüger
2016-02-28 23:18 Manuel Rüger
2016-01-03  0:11 Michael Weber
2016-01-03  0:11 Michael Weber
2015-12-13  1:58 Manuel Rüger
2015-11-26 10:07 Patrice Clement
2015-11-07 13:46 Manuel Rüger
2015-11-07 12:45 Manuel Rüger
2015-09-15 11:28 Michael Weber
2015-09-11 19:37 Patrice Clement
2015-09-11 19:37 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647139945.8ae1558e8cb34c62669b7d0b14fae70c5baab9c2.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox