diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-05-27 17:04:48 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-05-27 17:04:48 +0700 |
commit | 97b9447e7d82e0605aee39c006649b298da3abd8 (patch) | |
tree | 8a8a6981ff0473ac64df39e189cbf0ab7220b576 /dev-util/pycharm-community | |
parent | dev-util/pycharm-community: DEPEND on dev-libs/wayland (diff) | |
download | gentoo-97b9447e7d82e0605aee39c006649b298da3abd8.tar.gz gentoo-97b9447e7d82e0605aee39c006649b298da3abd8.tar.bz2 gentoo-97b9447e7d82e0605aee39c006649b298da3abd8.zip |
dev-util/pycharm-community: remove old revision
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'dev-util/pycharm-community')
-rw-r--r-- | dev-util/pycharm-community/pycharm-community-2023.1.2.ebuild | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/dev-util/pycharm-community/pycharm-community-2023.1.2.ebuild b/dev-util/pycharm-community/pycharm-community-2023.1.2.ebuild deleted file mode 100644 index a68d562bddcb..000000000000 --- a/dev-util/pycharm-community/pycharm-community-2023.1.2.ebuild +++ /dev/null @@ -1,122 +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 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/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 -} |