diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-util/pycharm-community | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-util/pycharm-community')
-rw-r--r-- | dev-util/pycharm-community/Manifest | 2 | ||||
-rw-r--r-- | dev-util/pycharm-community/pycharm-community-2021.3.1.ebuild | 122 |
2 files changed, 124 insertions, 0 deletions
diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest index c1e35ab0a1ad..40439b6cca88 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-2021.1.2.tar.gz 466806126 BLAKE2B 403cc5949ccb0e5f7d39d55b91d962889e35342715501466c007a5b3b044cbe33260de99e7d299f35a6e789c6f7e5726bc7106bc206d4e4890f8948eab7a15a2 SHA512 180d813d1162456312eb4482f414443350d784effab56cc53f2f6c2c79931f9af597849ec395089d8fc1ca2b87015722fad3cc43e03bfb4418e2c926b5af0107 +DIST pycharm-community-2021.3.1.tar.gz 505888477 BLAKE2B a203c9171857ef6b888db11da44b207ef8b35d3d20ecda8ebda41a9feede6c3da377a9123c3fa45662f5c9c5d0442f41717aba42bd33c5165b13043bbc4d6816 SHA512 554b9a34642ca904aea88e064cabe3af779ffda2bd99e8d0748f08628cf827b21585b44436c3548a21393f29c186720e76c465a18e5c182b64247e370c455417 DIST pycharm-community-2021.3.tar.gz 498868447 BLAKE2B 7c439d47f39d3f715fc99b139c0cbcde8de3224d433e8d79b050cd08dee7cefaef6f2e647cdbe659d6c447580e83a9186783c251aef3011e0bbabb16b5e32589 SHA512 6513ea22a6948abb3839158ac0ba31d6acda709689eaae6bfa014d49c1b8bc958ddb507404d169a212ff2b61387ef44b8207b899adb5ac8a71b75ca7da3732a2 EBUILD pycharm-community-2021.1.2-r1.ebuild 3198 BLAKE2B 94d0ce4a952f182fcca3d10ab2f405d9fec7dbfa10638e5bf73f870300cb4b172fe6c1717ebf2dbeb3a731900ac981c87ebc327d6108b2917498e1a26f0ba607 SHA512 6fa94b51a29292e428850e99ae95776339a49afa4d8840d2f5b876546e797755c09778e60387fba9442f4a4b19ac6c8caaaca44d94cee59413231e4eb8042db9 +EBUILD pycharm-community-2021.3.1.ebuild 3165 BLAKE2B 0a44bac0d58eea54735acc9b257f5267c34e5ba3847c04684c2d3917fc67e914cd4d188447876da47fb2b8df8762afff5a832c18e023b2434b7c8434c47a97a5 SHA512 ecce4a8f505740d89963893977f4da1a12fbec4f13dd14406a8f4295ca643fc0e74d29f157476b639d3b7dfd305c88ebea6f67a276f4c7516a6d3728d084f7ba EBUILD pycharm-community-2021.3.ebuild 3165 BLAKE2B ab768abb1fe5d29447a705d8bff9c3e0733c92f78178ff5008e15fa798c607a9385175421e0c346aaba32be7b500506fdca4ffb7f6d248d3f2f7e84b7e65f18b SHA512 c9d8ab3f6b3ac7626b9e49075da9e5d9f9870a331b4c8f36c1ca2b9ac94e544b2069c6e07e52f527af023143bd64684f8ff541ad59a7e7a6ffdb1a3c90e2bc67 MISC metadata.xml 305 BLAKE2B a5ee9ceb727e22160e23fc785ddcf2b7b22afd9599e956de38bf4318c4cab2acf5cffa6d1f075ac24d866d407e9412ba02362c9942b3aa34a7276e55cc44f161 SHA512 e67f65a2f5fcb0c7a7bfecdbba77c91844e89f4110ec66bb5838fdf7fb5abb57d141c2a816b7867001fc919c8721fd7837705b9a4f8853ce0728e33096fee19f diff --git a/dev-util/pycharm-community/pycharm-community-2021.3.1.ebuild b/dev-util/pycharm-community/pycharm-community-2021.3.1.ebuild new file mode 100644 index 000000000000..219b26936799 --- /dev/null +++ b/dev-util/pycharm-community/pycharm-community-2021.3.1.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/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/-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,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 +} |