Diff libselinux-3.8.1-r2 with a libselinux-3.8.1-r3

/usr/portage/sys-libs/libselinux/libselinux-3.8.1-r3.ebuild 2026-09-07 20:03:07.405905164 +0300
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7 7
DISTUTILS_EXT=1
8
DISTUTILS_OPTIONAL=1
8 9
PYTHON_COMPAT=( python3_{11..14} )
9 10
USE_RUBY="ruby32 ruby33"
10 11

  
......
23 24
	S="${WORKDIR}/${P}/${PN}"
24 25
else
25 26
	SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
26
	KEYWORDS="amd64 arm arm64 ~mips ~riscv x86"
27
	KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86"
27 28
	S="${WORKDIR}/${MY_P}"
28 29
fi
29 30

  
......
48 49
	python? (
49 50
		>=dev-lang/swig-2.0.9
50 51
		dev-python/pip[${PYTHON_USEDEP}]
52
		${PYTHON_DEPS}
53
		${DISTUTILS_DEPS}
51 54
	)
52 55
	ruby? ( >=dev-lang/swig-2.0.9 )
53 56
"
......
55 58
src_prepare() {
56 59
	eapply_user
57 60

  
61
	if use python; then
62
		distutils-r1_src_prepare
63
	fi
64

  
58 65
	multilib_copy_sources
59 66
}
60 67

  
68
multilib_src_configure() {
69
	default
70
	if multilib_is_native_abi; then
71
		if use python; then
72
			distutils-r1_src_configure
73
		fi
74
	fi
75
}
76

  
61 77
multilib_src_compile() {
62 78
	tc-export AR CC PKG_CONFIG RANLIB
63 79

  
......
154 170
	dosym -r "$(python_get_sitedir)/selinux/_selinux${pycext}" "$(python_get_sitedir)/_selinux${pycext}"
155 171
}
156 172

  
173
multilib_src_test() {
174
	default
175
	if multilib_is_native_abi; then
176
		if use python; then
177
			distutils-r1_src_test
178
		fi
179
	fi
180
}
181

  
157 182
pkg_postinst() {
158 183
	# Fix bug 473502
159 184
	for POLTYPE in ${POLICY_TYPES};
Thank you!