mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-util/pycharm-professional: drop 2023.2
Signed-off-by: Stefan Cristian B. <stefan.cristian+git@rogentos.ro> Part-of: https://github.com/gentoo/gentoo/pull/44301 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST pycharm-professional-2023.2.tar.gz 752661880 BLAKE2B a808ea29be18a5d4da603ce764dbc2ccc854121afc4b063194c0b0c3494cb03e3aec48297e19495d5b658583147f4d0e12514e73c5d4439af6af91b0a38ece0d SHA512 47be9af5d01e157df990a5c745ad12ddebe1963a164f379d3176e9b9cd064a02969b03b27116b38feec08f412857f1f1161015129d7c0c704e05f1fb5d331312
|
||||
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
|
||||
DIST pycharm-professional-2024.3.2-aarch64.tar.gz 1163550105 BLAKE2B 6e4cad835433d99d12c16c8f6e261b9471721b524690c92df6428bd36fa841da99ac941777130d84bf30ce778d945b783fa59a7d8c17d26c2419ef2146e35901 SHA512 27af643e78e17a58108a927607d839bc436c83eaa95846b461ac1cc47623e567a9714312cec9b4b6212074601f7c91ecb133de2122bec2cf109c8275fe221e9c
|
||||
|
||||
@@ -1,118 +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
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user