Diff pycharm-professional-2022.1-r1 with a pycharm-professional-2023.2

/usr/portage/dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild 2023-10-09 14:52:30.992368388 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit desktop readme.gentoo-r1 wrapper
6
inherit desktop readme.gentoo-r1 wrapper xdg-utils
7 7

  
8 8
MY_PN=${PN/-professional/}
9 9
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
......
13 13

  
14 14
LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
15 15
SLOT="0"
16
KEYWORDS="amd64 x86"
16
KEYWORDS="~amd64 ~x86"
17 17
IUSE="+bundled-jdk"
18
RESTRICT="mirror"
18

  
19
BDEPEND="dev-util/patchelf"
19 20

  
20 21
RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 )
21
	dev-python/pip
22
	media-fonts/dejavu
23
	|| (
24
		>=app-accessibility/at-spi2-core-2.46.0:2
25
		( app-accessibility/at-spi2-atk dev-libs/atk )
26
	)
22
	app-accessibility/at-spi2-core:2
27 23
	dev-libs/expat
28 24
	dev-libs/glib:2
29 25
	dev-libs/nspr
30 26
	dev-libs/nss
27
	dev-python/pip
28
	media-fonts/dejavu
31 29
	media-libs/alsa-lib
32
	media-libs/freetype
33
	media-libs/mesa[gbm(+)]
30
	media-libs/freetype:2=
31
	media-libs/mesa
34 32
	net-print/cups
35 33
	sys-apps/dbus
36 34
	sys-libs/zlib
37
	x11-libs/libdrm
38 35
	x11-libs/libX11
39 36
	x11-libs/libxcb
40
	x11-libs/libXcomposite
41
	x11-libs/libXcursor
42
	x11-libs/libXdamage
43 37
	x11-libs/libXext
44
	x11-libs/libXfixes
45 38
	x11-libs/libXi
46
	x11-libs/libxkbcommon
47 39
	x11-libs/libXrandr
48 40
	x11-libs/libXrender
49
	x11-libs/cairo
50
	x11-libs/pango
51 41
	x11-libs/libXtst
42
	x11-libs/pango
43
	x11-libs/cairo
44
	x11-libs/libdrm
45
	x11-libs/libXcomposite
46
	x11-libs/libXcursor
47
	x11-libs/libXdamage
48
	x11-libs/libXfixes
49
	x11-libs/libxkbcommon
52 50
	x11-libs/libXxf86vm
53 51
"
54
BDEPEND="dev-util/patchelf"
55 52

  
56
QA_PREBUILT="opt/${PN}/*"
53
RESTRICT="mirror"
54

  
55
QA_PREBUILT="opt/${P}/*"
57 56

  
58 57
src_prepare() {
59 58
	default
60 59
	local remove_me=(
61 60
		help/ReferenceCardForMac.pdf
62
		lib/pty4j-native/linux/aarch64
63
		lib/pty4j-native/linux/arm
64
		lib/pty4j-native/linux/mips64el
65
		lib/pty4j-native/linux/ppc64le
66
		lib/pty4j-native/linux/$(usex amd64 x86 x86_64)
67 61
		plugins/remote-dev-server/selfcontained
68
		plugins/performanceTesting/bin/libyjpagent.so
69
		plugins/performanceTesting/bin/*.dll
70
		plugins/performanceTesting/bin/libyjpagent.dylib
71 62
		plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
72 63
		plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
73
		plugins/wsl-fs-helper
74
	)
64
		plugins/python/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so
65
		plugins/cwm-plugin/quiche-native/linux-aarch64
66
		plugins/tailwindcss  # Relies on masked package sys-libs/musl
67
)
75 68

  
76 69
	rm -rv "${remove_me[@]}" || die
77 70

  
......
105 98

  
106 99
	fperms 755 ${dir}/bin/{format.sh,fsnotifier,inspect.sh,ltedit.sh,pycharm.sh,restart.py}
107 100

  
108
	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}
109
	fperms 755 ${dir}/${jre_dir}/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
101
	fperms 755 "${dir}"/"${jre_dir}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver}
102
	fperms 755 "${dir}"/"${jre_dir}"/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
110 103

  
111 104
	make_wrapper ${PN} ${dir}/bin/pycharm.sh
112 105
	newicon bin/${MY_PN}.png ${PN}.png
......
121 114

  
122 115
pkg_postinst() {
123 116
	readme.gentoo_print_elog
117
	xdg_icon_cache_update
124 118
}
Thank you!