public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/
Date: Sun, 24 Jul 2022 11:14:35 +0000 (UTC)	[thread overview]
Message-ID: <1658661244.4e0e31078bc3322efea0e956dcd33e9f9649c386.grozin@gentoo> (raw)

commit:     4e0e31078bc3322efea0e956dcd33e9f9649c386
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 11:14:04 2022 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 11:14:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0e3107

dev-util/pycharm-community: bump to 2022.1.4

Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
Package-Manager: Portage-3.0.34, Repoman-3.0.3

 dev-util/pycharm-community/Manifest                |   1 +
 .../pycharm-community-2022.1.4.ebuild              | 122 +++++++++++++++++++++
 2 files changed, 123 insertions(+)

diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
index fd8cc6e03536..fa97599b14e3 100644
--- a/dev-util/pycharm-community/Manifest
+++ b/dev-util/pycharm-community/Manifest
@@ -1,3 +1,4 @@
 DIST pycharm-community-2021.1.2.tar.gz 466806126 BLAKE2B 403cc5949ccb0e5f7d39d55b91d962889e35342715501466c007a5b3b044cbe33260de99e7d299f35a6e789c6f7e5726bc7106bc206d4e4890f8948eab7a15a2 SHA512 180d813d1162456312eb4482f414443350d784effab56cc53f2f6c2c79931f9af597849ec395089d8fc1ca2b87015722fad3cc43e03bfb4418e2c926b5af0107
 DIST pycharm-community-2022.1.2.tar.gz 540611282 BLAKE2B 0b83dda7b6ac4b8b2dfb3187893533b7399ed5a4db1022ef1c0466ee6ef1b9440c8dbe17bf50a588d8a4c6a94b2944bfe8d5a60eb10b7ecbc2c1d49018235a8c SHA512 1c0bab9ddbe33b8661ec6d0ee40a507a3a74c5336f06f2f903656661326fcff265f05dd0d99eb704af238e1012fb240883ce47bf6f5b831fe2565ac0cd2a22ff
+DIST pycharm-community-2022.1.4.tar.gz 540366810 BLAKE2B 9f3353916a360d216624fa6b85aa2258018fcaf77e7861bc1515553b877a303f4f7eb964c7f79316ba353a07262041a532232bdd36c007c09f95814fd55469cb SHA512 715b17638cf816738b9f5c8ee0c416929e46b60ba2eca0bb4cebffb7879816bb0786e7ab740eb460c6640dce774d1d48823632ed38df431912df9d05458d0e5e
 DIST pycharm-community-2022.1.tar.gz 540005306 BLAKE2B db0ac63e81e618484936cd1859acc366690ec81ce8eb722cf91ec1d0c109321fc156b88a41af06fc3d28af942387c816d709bf5a18970472b701a6fb4c4d1928 SHA512 2d1f048d0318ecce3334257e9119c84a1af612635a06bcc0335679bb03c046e4a76e06b4d54ee4ba700fbfd3ad120fd19b4b82e80c6ad52420b9a91e9c197321

diff --git a/dev-util/pycharm-community/pycharm-community-2022.1.4.ebuild b/dev-util/pycharm-community/pycharm-community-2022.1.4.ebuild
new file mode 100644
index 000000000000..308a7ffdcb3b
--- /dev/null
+++ b/dev-util/pycharm-community/pycharm-community-2022.1.4.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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-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/{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
+	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
+}


             reply	other threads:[~2022-07-24 11:14 UTC|newest]

Thread overview: 159+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 11:14 Andrey Grozin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31 13:15 [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-community/ Andrey Grozin
2024-08-31 13:13 Andrey Grozin
2024-08-21  8:19 Sam James
2024-07-02 10:19 Andrey Grozin
2024-07-02 10:17 Andrey Grozin
2024-02-09 13:34 Andrey Grozin
2024-02-09 13:32 Andrey Grozin
2024-01-06 12:55 Andrey Grozin
2024-01-06 12:52 Andrey Grozin
2023-11-17 11:37 Andrey Grozin
2023-11-17 11:36 Andrey Grozin
2023-10-19 12:51 Andrey Grozin
2023-10-19 12:49 Andrey Grozin
2023-10-12 13:42 Andrey Grozin
2023-08-29 12:29 Andrey Grozin
2023-08-29 12:28 Andrey Grozin
2023-07-20 16:05 Andrey Grozin
2023-06-04  4:17 Sam James
2023-05-27 10:05 Andrey Grozin
2023-05-27 10:03 Andrey Grozin
2023-05-27  5:07 Andrey Grozin
2023-05-26 20:06 Arthur Zamarin
2023-05-26  7:15 Sam James
2023-05-26  3:35 Andrey Grozin
2023-05-25 13:00 Andrey Grozin
2023-05-04 14:40 Andrey Grozin
2023-05-04 14:38 Andrey Grozin
2023-04-12 12:07 Andrey Grozin
2023-04-12 12:05 Andrey Grozin
2023-02-16 10:45 Andrey Grozin
2023-01-07  5:21 Andrey Grozin
2023-01-07  5:18 Andrey Grozin
2023-01-06 20:13 Arthur Zamarin
2023-01-06 20:03 Arthur Zamarin
2022-10-31 13:19 Andrey Grozin
2022-10-31 13:18 Andrey Grozin
2022-10-10  7:05 Andrey Grozin
2022-10-10  7:03 Andrey Grozin
2022-08-01 11:37 Andrey Grozin
2022-07-24 11:17 Andrey Grozin
2022-06-16 14:23 Andrey Grozin
2022-06-16 14:21 Andrey Grozin
2022-04-26  9:06 Andrey Grozin
2022-04-26  8:59 Andrey Grozin
2022-04-05  8:26 Andrey Grozin
2022-02-16  7:55 Andrey Grozin
2022-02-16  7:53 Andrey Grozin
2022-01-23  6:42 Andrey Grozin
2021-12-29  9:33 Andrey Grozin
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-06-19  7:30 Mikle Kolyada
2020-05-13 10:33 Mikle Kolyada
2020-05-13 10:11 Mikle Kolyada
2020-04-09 13:45 Mikle Kolyada
2020-03-21  8:40 Mikle Kolyada
2020-02-09 12:19 Mikle Kolyada
2020-01-25 15:00 Mikle Kolyada
2020-01-25 15:00 Mikle Kolyada
2020-01-25 15:00 Mikle Kolyada
2019-12-29  8:48 Mikle Kolyada
2019-12-11 12:42 Mikle Kolyada
2019-11-22  9:24 Mikle Kolyada
2019-11-02 13:39 Mikle Kolyada
2019-10-27 19:48 Mikle Kolyada
2019-09-27 18:10 Mikle Kolyada
2019-09-26 18:40 Mikle Kolyada
2019-07-25  8:57 Mikle Kolyada
2019-07-25  8:57 Mikle Kolyada
2019-07-25  8:55 Mikle Kolyada
2019-06-14  7:43 Mikle Kolyada
2019-05-26 10:32 Mikle Kolyada
2019-05-26 10:32 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:33 Mikle Kolyada
2019-03-08 18:15 Mikle Kolyada
2019-03-08 18:15 Mikle Kolyada
2019-02-28 10:35 Mikle Kolyada
2019-01-30 20:25 Mikle Kolyada
2019-01-11 10:20 Mikle Kolyada
2018-12-22  7:49 Mikle Kolyada
2018-12-06 18:29 Mikle Kolyada
2018-11-26 14:41 Mikle Kolyada
2018-11-26 14:41 Mikle Kolyada
2018-11-26 14:39 Mikle Kolyada
2018-11-26 12:52 Mikle Kolyada
2018-11-26 12:43 Andrey Grozin
2018-11-25 18:25 Mikle Kolyada
2018-10-07 14:55 Andrey Grozin
2018-09-16  2:30 Mikle Kolyada
2018-08-19 19:04 Michael Weber
2018-08-19 19:03 Michael Weber
2018-07-29 20:21 Michael Weber
2018-06-08 20:16 Michael Weber
2018-06-08 20:16 Michael Weber
2018-04-18 11:39 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-03-26  6:32 Andrey Grozin
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  7:59 Michael Weber
2017-11-30 13:33 Manuel Rüger
2017-11-30 12:45 Andrey Grozin
2017-11-29 15:24 Mikle Kolyada
2017-11-03 14:45 Manuel Rüger
2017-11-03 14:44 Manuel Rüger
2017-09-15 11:38 Manuel Rüger
2017-09-15 11:38 Manuel Rüger
2017-08-12 12:39 Andrey Grozin
2017-07-19 15:21 Manuel Rüger
2017-06-09 13:06 Andrey Grozin
2017-03-28  8:36 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 21:14 Michael Weber
2017-02-07 20:40 Michael Weber
2017-01-02 11:13 Andrey Grozin
2016-12-18  4:45 Andrey Grozin
2016-10-16 21:48 Manuel Rüger
2016-08-31 20:56 Manuel Rüger
2016-08-19 14:56 Michael Weber
2016-07-05 14:20 Michael Weber
2016-07-05 13:20 Michael Weber
2016-06-10 13:53 Agostino Sarubbo
2016-05-16 22:07 Manuel Rüger
2016-05-04 11:54 Manuel Rüger
2016-05-04 11:54 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:18 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-23 10:06 Patrice Clement
2015-12-22 20:28 Manuel Rüger
2015-12-19 10:55 Patrice Clement
2015-09-15 11:34 Michael Weber

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=1658661244.4e0e31078bc3322efea0e956dcd33e9f9649c386.grozin@gentoo \
    --to=grozin@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