diff options
Diffstat (limited to 'dev-util/pycharm-professional')
6 files changed, 149 insertions, 500 deletions
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest index 8d208544944f..c36282e5dc2c 100644 --- a/dev-util/pycharm-professional/Manifest +++ b/dev-util/pycharm-professional/Manifest @@ -1,12 +1,7 @@ AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73156f63892b1e126ac068d5b2f271d1b71a77486205848cce72452d671692418b6e09e8e25da60e SHA512 a0254552b98b6ec8dadd91ed7df35bf990d08025d8352366f58ecabe94cdde2df64d8665447d0a2ffc1edacdeb05124c2a82722d5ad70b614d90bb0ae38544d2 -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 -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 +DIST pycharm-professional-2023.3.3-aarch64.tar.gz 817002751 BLAKE2B 75e43700d727bc7cabb2d87ea353cc6644ce66fdb669e52a17a64522f1e883d725ba8671ef664c7d7fb87508083656f42f937d9d7fbb30bacb11c0f7f7074d35 SHA512 a006dc281fb66c92ca2bee5b83f0deb85ca49eff8390a74b3f9869c0767931c83040136118d24b5acde24d30e9de1d3c7a7ff552c4e82331015e5325f3550817 +DIST pycharm-professional-2023.3.3.tar.gz 816045880 BLAKE2B 2f967d6aad4ff837da1ed08e74a625c4f59ec9a867f47c112858e7d9d9fb1dcf538da82a4970b7cb0d2e35dfd7f30743ee14aaf2cfadf18fb3db05e5a10f35f8 SHA512 f7c32f8608e235f111ffd83573fb60e7efdac5107ec50564d33885b3c5c0ccc37f951c8df139ac8a23fffe92e51a3b487a37648daa4b801f49529f7d761cda2b EBUILD pycharm-professional-2023.2.ebuild 3151 BLAKE2B 1b80812fdf648de43fe2c46df87b16f79df466400e16902175a8eba586d87f24fcd119a0bbe1bc4ec70add920eb739b10798e1e020f4be662630d2138ccfe173 SHA512 7c06eb53f451fc602821f0b61892e105577119bb499e924e6427cf0ffc8d81360303382cf33b368b3d9bffd2bcc228b469a6e0052d7d68f3ba640703c3beaf65 +EBUILD pycharm-professional-2023.3.3.ebuild 4219 BLAKE2B be1bfde95251cb8a879a2e67042b5f0394d91aeab6c69262657cdd6659f75cda950184d2c31d17f985a3eb3bb8c3da7c33c35014a8be801803473e283bf88478 SHA512 db2fbb0c8c9c1520a0f94b0342c5ff32b15a2c6863cffd953c20d82b806ed5f73c2d00c129c0e3e6a122fab3e63273fc5a0cb84c6343a49c718c72f93e082d51 MISC metadata.xml 229 BLAKE2B 1b25fb59c17f81a5c4b6dce7e07acb9de3bc64fef368805a0e1b45043dc13ab4898990b02b35d25ec3eb586aa67e236cc56519ed9a6bdb0d940f91b280e83141 SHA512 fcff4719a8e6c3cb446c48872c2278fa50ace7765d204b58d24f9ac0d47cb9fdaa7ed37080290ebc06d8dae864ccfdd8a48c9d9251a69862a6e5b58d5c26969b diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild deleted file mode 100644 index 7f49ff573948..000000000000 --- a/dev-util/pycharm-professional/pycharm-professional-2021.1.2-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# 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="https://www.jetbrains.com/pycharm/" -SRC_URI="https://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" - -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/libpng:0= - net-libs/gnutls - net-print/cups - sys-apps/dbus - sys-libs/libcap - sys-libs/zlib - virtual/jpeg:0= - 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/-professional/} -S="${WORKDIR}/${MY_PN}-${PV}" - -src_prepare() { - default - - rm -vf "${S}"/help/ReferenceCardForMac.pdf || die - - rm -vf "${S}"/bin/fsnotifier || 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,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,fsnotifier64,inspect.sh,ltedit.sh,pycharm.sh,printenv.py,restart.py} - - fperms 755 "${DIR}"/"${JRE_DIR}"/bin/{jaotc,java,javac,jcmd,jdb,jfr,jhsdb,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 -} diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild deleted file mode 100644 index 830398f98efc..000000000000 --- a/dev-util/pycharm-professional/pycharm-professional-2021.3.2-r1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# 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="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" -RESTRICT="mirror" - -RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) - dev-python/pip - media-fonts/dejavu - || ( - >=app-accessibility/at-spi2-core-2.46.0:2 - ( app-accessibility/at-spi2-atk 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 -} diff --git a/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild deleted file mode 100644 index 830398f98efc..000000000000 --- a/dev-util/pycharm-professional/pycharm-professional-2021.3.3-r1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# 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="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" -RESTRICT="mirror" - -RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) - dev-python/pip - media-fonts/dejavu - || ( - >=app-accessibility/at-spi2-core-2.46.0:2 - ( app-accessibility/at-spi2-atk 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 -} diff --git a/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild b/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild deleted file mode 100644 index 9905248283aa..000000000000 --- a/dev-util/pycharm-professional/pycharm-professional-2022.1-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2023 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="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" -RESTRICT="mirror" - -RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) - dev-python/pip - media-fonts/dejavu - || ( - >=app-accessibility/at-spi2-core-2.46.0:2 - ( app-accessibility/at-spi2-atk 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/cairo - x11-libs/pango - 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/python/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.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,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 -} diff --git a/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild new file mode 100644 index 000000000000..7d5d43322d79 --- /dev/null +++ b/dev-util/pycharm-professional/pycharm-professional-2023.3.3.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop wrapper xdg + +MY_PN=${PN/-professional/} +DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis" +HOMEPAGE="https://www.jetbrains.com/pycharm/" +SRC_URI=" + amd64? ( https://download.jetbrains.com/python/${P}.tar.gz ) + arm64? ( https://download.jetbrains.com/python/${P}-aarch64.tar.gz ) +" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="PyCharm" +#https://www.jetbrains.com/legal/third-party-software/?product=pcp +#license/javahelp_license.txt: CDDL-1.1 +#license/javolution_license.txt: BSD-2 +#license/saxon-conditions.html: MPL-1.0 +#license/yourkit-license-redist.txt: BSD +#license/third-party-libraries.json: +## cat third-party-libraries.json | jq '.[].license' | sort | uniq +# "commercial, available on request" http://www.yworks.com/products/yfiles-for-java-2.x/sla +# "Custom" https://checkmarx.com/legal/jetbrains-checkmarx-end-user-terms-and-conditions/ +# color.js is MIT +# codehaus is MIT +# roman.py is ZPL not "Python 2.1.1 license" +# Eclipse Distribution License 1.0 is BSD +LICENSE+=" 0BSD Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 CDDL-1.1 CPL-1.0 EPL-1.0 GPL-2" +LICENSE+=" GPL-2-with-classpath-exception ISC JSON LGPL-2.1 LGPL-3 LGPL-3+ libpng MIT MPL-1.1 MPL-2.0 OFL" +LICENSE+=" OFL-1.1 public-domain PYTHON unicode Unlicense W3C ZLIB ZPL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+bundled-jdk" + +RDEPEND=" + dev-libs/glib:2 + dev-python/pip + media-fonts/dejavu + bundled-jdk? ( + app-accessibility/at-spi2-core:2 + dev-libs/expat + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/freetype:2= + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/zlib + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXxf86vm + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + ) + !bundled-jdk? ( + >=virtual/jre-17 + ) +" +BDEPEND="dev-util/patchelf" + +RESTRICT="mirror test" + +DESTDIR="/opt/${PN}" +QA_PREBUILT="${DESTDIR#/}/.*" + +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/tailwindcss # Relies on masked package sys-libs/musl + ) + + if use amd64; then + remove_me+=( + lib/async-profiler/aarch64 + plugins/cwm-plugin/quiche-native/linux-aarch64 + ) + fi + + if use arm64; then + remove_me+=( + lib/async-profiler/amd64 + ) + fi + + 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 + + if ! use bundled-jdk; then + rm -rf jbr || die + fi + + 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() { + insinto ${DESTDIR} + doins -r * + + fperms 755 ${DESTDIR}/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm.sh,remote-dev-server.sh,repair,restarter} + + if use bundled-jdk; then + fperms 755 "${DESTDIR}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver} + fperms 755 "${DESTDIR}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper} + fi + + make_wrapper ${PN} ${DESTDIR}/bin/pycharm.sh + newicon bin/${MY_PN}.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN} + + # 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" +} |