summaryrefslogtreecommitdiff
path: root/dev-util/pycharm-professional
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-16 11:00:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-16 11:00:10 +0100
commit3c490942d0d98701d1c0971e60911fa6bd3ecb76 (patch)
treec7e992463fec552ae6483d7b81848aa185d3559f /dev-util/pycharm-professional
parentc748acf4192a1e08c9feb2d5f0004937a4869639 (diff)
gentoo auto-resync : 16:09:2023 - 11:00:10
Diffstat (limited to 'dev-util/pycharm-professional')
-rw-r--r--dev-util/pycharm-professional/Manifest2
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild118
2 files changed, 120 insertions, 0 deletions
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest
index 79ba8bd76d0f..4c0494394f3f 100644
--- a/dev-util/pycharm-professional/Manifest
+++ b/dev-util/pycharm-professional/Manifest
@@ -3,8 +3,10 @@ DIST pycharm-professional-2021.1.2.tar.gz 580807899 BLAKE2B ba21f9ba000c34f3073b
DIST pycharm-professional-2021.3.2.tar.gz 641411471 BLAKE2B 783ec78e87663b464f8aee41ef561e2bb4d44b2b5eb87cf320f32d5edcb36a36da294639f76ef13588aaac45a9ffe4db0fe91032a1fbdf62581990ad7df3f672 SHA512 abb59cfa74afa1fc7bc0590cfb6fe8afa3bf3adbc25a4eccc2f80974f43f47300f3587edba269f3044cd84e9ccff346e9a78c6ce43e6159945b3740afb9685c1
DIST pycharm-professional-2021.3.3.tar.gz 640922827 BLAKE2B c1b622b7e633b4855c3b5bf7d5ebe470b383238c7a91bbdac6b80c5fa297710542ae409043b999f97c79ce99c4d30b5be88e95eca9e642c8a3bd8235dd26c7cf SHA512 6d2ea59716129b30fca15900b8af4a5845d183042febfd33d1553443367dae2d9e80a5386d621ba6128ee67f7c2bc70c2b1da785eb287d4aa7091da75f23b3a1
DIST pycharm-professional-2022.1.tar.gz 676891799 BLAKE2B fc115fd2fa8d8c73f48bf7369bccafcc1f80bed36d4fdb3225377631ac546b76452ac84d3b4230ff7b2278b93a7f13723e1b6429e902d6a240d21f36fbc1c9b3 SHA512 92afed366063dcba17e1ebc74da0900061055bc998180378a416cde6c6ded5a572869b793f1a8b74d5499ef2da2fb19ca3725e003de788c222193b45d045bf84
+DIST pycharm-professional-2023.2.tar.gz 752661880 BLAKE2B a808ea29be18a5d4da603ce764dbc2ccc854121afc4b063194c0b0c3494cb03e3aec48297e19495d5b658583147f4d0e12514e73c5d4439af6af91b0a38ece0d SHA512 47be9af5d01e157df990a5c745ad12ddebe1963a164f379d3176e9b9cd064a02969b03b27116b38feec08f412857f1f1161015129d7c0c704e05f1fb5d331312
EBUILD pycharm-professional-2021.1.2-r1.ebuild 3270 BLAKE2B 74891abea1516de972e5e9bb0391297e51e4a4678522a726d0d5df6efb6284dc031920bb2539b4419a1331c9a61d23240cfe4a66fcbdf3c2f74f856b34726207 SHA512 f1a8c8c7306835c7296ad952cca89b77e876d7ffb432d9e6c4f929b7b10a2a68e99d58243b1930624d472f3174ef830cf824a468966ba578e6748e564cb82489
EBUILD pycharm-professional-2021.3.2-r1.ebuild 3283 BLAKE2B 17027b4c41eaf549e107163660e32214d88b7a8094a95c36642122e403b9c54ccee473c8589a454fab09b935fc856c8e5c6b6eba2f6e0e0e4b5ae1f0031c693b SHA512 b02d541b2212f20d4ef24e8c6915d27ff0564c647b83c46cff5017ebf0f9da441c776b114d62eae2813b572340ab090d483157cca1802254218fd47bd51715cc
EBUILD pycharm-professional-2021.3.3-r1.ebuild 3283 BLAKE2B 17027b4c41eaf549e107163660e32214d88b7a8094a95c36642122e403b9c54ccee473c8589a454fab09b935fc856c8e5c6b6eba2f6e0e0e4b5ae1f0031c693b SHA512 b02d541b2212f20d4ef24e8c6915d27ff0564c647b83c46cff5017ebf0f9da441c776b114d62eae2813b572340ab090d483157cca1802254218fd47bd51715cc
EBUILD pycharm-professional-2022.1-r1.ebuild 3356 BLAKE2B 0daf56fdaa5b92ce012d57abb3daa48638757d7f78660f5bb410370c40dd96d53344e88725c6c23fadfb19374e9146b770ef9661ca87ab53d4a91c33acb5ab5a SHA512 8103e56a41a8361f23adf2d3d1f917e148ca7348bd7f152c144589446d028d828775ec0ca63a62e9a4789f10993348827537c1aefe694a3b773ac07cc731943e
+EBUILD pycharm-professional-2023.2.ebuild 3153 BLAKE2B 53545b14d7435dc037aa31f2bbebebd5400dbbe89b8da19522c732884a511bdb4ed4cfa2bce59d5ecdd16772d82f82b833b916a3ef2dfcf3c48a3ed07305cf43 SHA512 d8a998b1f1527a6786976f39b1211d97ca1ebed9a39d9c4328bc7c0d23267e36eb2070327d4f250f90a9b9a7e23ff2486de8a751e0798418212fd9b194ca122f
MISC metadata.xml 229 BLAKE2B 1b25fb59c17f81a5c4b6dce7e07acb9de3bc64fef368805a0e1b45043dc13ab4898990b02b35d25ec3eb586aa67e236cc56519ed9a6bdb0d940f91b280e83141 SHA512 fcff4719a8e6c3cb446c48872c2278fa50ace7765d204b58d24f9ac0d47cb9fdaa7ed37080290ebc06d8dae864ccfdd8a48c9d9251a69862a6e5b58d5c26969b
diff --git a/dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild b/dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild
new file mode 100644
index 000000000000..8e83723226ae
--- /dev/null
+++ b/dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild
@@ -0,0 +1,118 @@
+# 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
+
+MY_PN=${PN/-professional/}
+DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
+HOMEPAGE="https://www.jetbrains.com/pycharm/"
+SRC_URI="https://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"
+
+BDEPEND="dev-util/patchelf"
+
+RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
+ app-accessibility/at-spi2-core:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ dev-python/pip
+ media-fonts/dejavu
+ media-libs/alsa-lib
+ media-libs/freetype:2=
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ 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
+ x11-libs/cairo
+ x11-libs/libdrm
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXxf86vm
+"
+
+RESTRICT="mirror"
+
+QA_PREBUILT="opt/${P}/*"
+
+src_prepare() {
+ default
+ local remove_me=(
+ help/ReferenceCardForMac.pdf
+ plugins/remote-dev-server/selfcontained
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
+ plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so
+ plugins/cwm-plugin/quiche-native/linux-aarch64
+ plugins/tailwindcss # Relies on masked package sys-libs/musl
+)
+
+ 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,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
+ insinto /usr/lib/sysctl.d
+ newins - 30-idea-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+ xdg_icon_cache_update
+}