From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/
Date: Wed, 13 May 2020 10:21:28 +0000 (UTC) [thread overview]
Message-ID: <1589365284.c9953ef9dd7623e2df6c819ee61cedf70e74db34.zlogene@gentoo> (raw)
commit: c9953ef9dd7623e2df6c819ee61cedf70e74db34
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 10:19:43 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed May 13 10:21:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9953ef9
dev-util/pycharm-professional: allow bundled JDK on demand
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
dev-util/pycharm-professional/metadata.xml | 3 +++
.../pycharm-professional-2020.1.ebuild | 15 ++++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/dev-util/pycharm-professional/metadata.xml b/dev-util/pycharm-professional/metadata.xml
index d21de2d9f07..c405595aa1a 100644
--- a/dev-util/pycharm-professional/metadata.xml
+++ b/dev-util/pycharm-professional/metadata.xml
@@ -5,4 +5,7 @@
<name>Mikle Kolyada</name>
<email>zlogene@gentoo.org</email>
</maintainer>
+<use>
+ <flag name="bundled-jdk">Use bundled jdk</flag>
+</use>
</pkgmetadata>
diff --git a/dev-util/pycharm-professional/pycharm-professional-2020.1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2020.1.ebuild
index bb09db041ff..921e9c358e6 100644
--- a/dev-util/pycharm-professional/pycharm-professional-2020.1.ebuild
+++ b/dev-util/pycharm-professional/pycharm-professional-2020.1.ebuild
@@ -12,8 +12,9 @@ SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="+bundled-jdk"
-RDEPEND=">=virtual/jre-1.8
+RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
dev-libs/libdbusmenu
dev-python/pip"
@@ -28,16 +29,16 @@ QA_PREBUILT="opt/${PN}/bin/fsnotifier
MY_PN=${PN/-professional/}
S="${WORKDIR}/${MY_PN}-${PV}"
-src_prepare() {
- default
-
- rm -rf jre || die
-}
-
src_install() {
insinto /opt/${PN}
doins -r *
+ if use bundled-jdk; then
+ fperms -R a+x /opt/pycharm-professional/jbr/bin/
+ else
+ rm -r "${D}"/opt/pycharm-professional/jbr/ || die
+ fi
+
fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
next reply other threads:[~2020-05-13 10:21 UTC|newest]
Thread overview: 121+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 10:21 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-05 7:51 [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/ 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
2022-03-13 2:59 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-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=1589365284.c9953ef9dd7623e2df6c819ee61cedf70e74db34.zlogene@gentoo \
--to=zlogene@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