summaryrefslogtreecommitdiff
path: root/dev-util/pycharm-community
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-20 19:08:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-20 19:08:44 +0100
commit6b89cba67f554b60d139fd07623aef5cc724ec91 (patch)
tree876c06b4840a2ed6bff1771d124049d9bfff55b1 /dev-util/pycharm-community
parent30114ae8ef07a32fea1e44a10b61f98c84142645 (diff)
gentoo auto-resync : 20:07:2023 - 19:08:44
Diffstat (limited to 'dev-util/pycharm-community')
-rw-r--r--dev-util/pycharm-community/Manifest2
-rw-r--r--dev-util/pycharm-community/pycharm-community-2023.1.4.ebuild123
2 files changed, 125 insertions, 0 deletions
diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
index ecc10a26a947..9782a9d26705 100644
--- a/dev-util/pycharm-community/Manifest
+++ b/dev-util/pycharm-community/Manifest
@@ -1,6 +1,8 @@
AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2
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
EBUILD pycharm-community-2023.1.1.ebuild 3144 BLAKE2B 7db808cf672035782d54e62394a4d0ea1248f7d6ca4d290aa2daab6df7c6e3c47c397a97e2ea807a5d18b40f5004c44eb1664f3ab859087c1d37cdfde979e15b SHA512 df4fcc71337554902d697db64c8dd382d6edd1c5e8ee61670fe364c6a9e1d566c14d59fd5ca34f6826f3e0c54b7ffed336856e42ff0afbc2b389df018ccd02cd
EBUILD pycharm-community-2023.1.2-r1.ebuild 3171 BLAKE2B 97a5588a8c858cf9ee8c77cda10a7c33797d60cb624641127d0ba0370d5109eca33be00d71a08bc89023314ac9b7be7b62283c69e6b83057eeb1bd18dce006a3 SHA512 fba716103e16415082db6dd03234d6f5b4cae781e23722f35c1f6237d78b69f18af328b957719295c96b4a846cbb4220dca3022eb9eabcb395294cced16aa723
+EBUILD pycharm-community-2023.1.4.ebuild 3171 BLAKE2B 97a5588a8c858cf9ee8c77cda10a7c33797d60cb624641127d0ba0370d5109eca33be00d71a08bc89023314ac9b7be7b62283c69e6b83057eeb1bd18dce006a3 SHA512 fba716103e16415082db6dd03234d6f5b4cae781e23722f35c1f6237d78b69f18af328b957719295c96b4a846cbb4220dca3022eb9eabcb395294cced16aa723
MISC metadata.xml 305 BLAKE2B a5ee9ceb727e22160e23fc785ddcf2b7b22afd9599e956de38bf4318c4cab2acf5cffa6d1f075ac24d866d407e9412ba02362c9942b3aa34a7276e55cc44f161 SHA512 e67f65a2f5fcb0c7a7bfecdbba77c91844e89f4110ec66bb5838fdf7fb5abb57d141c2a816b7867001fc919c8721fd7837705b9a4f8853ce0728e33096fee19f
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
+}