Diff virtualbox-7.0.10 with a virtualbox-7.0.10-r1

/usr/portage/app-emulation/virtualbox/virtualbox-7.0.10-r1.ebuild 2023-10-09 14:52:28.736368331 +0300
15 15
#  trunk branch but not release branch.
16 16
#
17 17
#  See bug #785835, bug #856121.
18
PYTHON_COMPAT=( python3_{10..12} )
18
PYTHON_COMPAT=( python3_{10..11} )
19 19

  
20 20
inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature pax-utils \
21 21
	python-single-r1 tmpfiles toolchain-funcs udev xdg
......
34 34

  
35 35
LICENSE="GPL-2+ GPL-3 LGPL-2.1 MIT dtrace? ( CDDL )"
36 36
SLOT="0/$(ver_cut 1-2)"
37
KEYWORDS="amd64"
37
KEYWORDS="~amd64"
38 38
IUSE="alsa dbus debug doc dtrace +gui java lvm nls pam pch pulseaudio +opengl python +sdk +sdl +udev vboxwebsrv vde vnc"
39 39

  
40 40
unset WATCOM #856769
......
206 206
	"${FILESDIR}"/${PN}-7.0.6-gcc-13.patch
207 207
	"${FILESDIR}"/${PN}-7.0.8-mtune-keep-size.patch
208 208
	"${FILESDIR}"/${PN}-7.0.6-fix-libxml2.patch
209
	# 913109
210
	"${FILESDIR}"/${PN}-7.0.10-fix-binutils-hardened.patch
209 211

  
210 212
	# Downloaded patchset
211 213
	"${WORKDIR}"/virtualbox-patches-7.0.8/patches
......
568 570
	fi
569 571

  
570 572
	# set an env-variable for 3rd party tools
571
	echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
573
	echo "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
574
	# environment variables used during SDK binding installation
575
	echo "VBOX_SDK_PATH=${vbox_inst_path}/sdk" >> "${T}/90virtualbox"
576
	echo "VBOX_INSTALL_PATH=${vbox_inst_path}" >> "${T}/90virtualbox"
572 577
	doenvd "${T}/90virtualbox"
573 578

  
574 579
	if use sdl; then
......
694 699
			eerror "(listed in PYTHON_COMPAT in the ebuild) is incomplete within the Makefiles."
695 700
			die "Incomplete installation of Python bindings! File a bug with Gentoo!"
696 701
		fi
702

  
703
		# 378871
704
		local installer_dir="${ED}/usr/$(get_libdir)/virtualbox/sdk/installer"
705
		pushd "${installer_dir}" &> /dev/null || die
706
		sed -e "s;%VBOX_INSTALL_PATH%;${vbox_inst_path};" \
707
			-e "s;%VBOX_SDK_PATH%;${vbox_inst_path}/sdk;" \
708
			-i vboxapi/__init__.py || die
709
		# insert shebang, the files come without one
710
		find vboxapi -name \*.py -exec sed -e "1 i\#! ${PYTHON}" -i {} \+ || die
711
		python_domodule vboxapi
712
		popd &> /dev/null || die
713
		python_doscript vboxshell.py
714

  
715
		# do not install the installer
716
		rm -r "${installer_dir}" || die
697 717
	fi
698 718

  
699 719
	newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
Thank you!