Diff libseccomp-2.6.0 with a libseccomp-9999

/usr/portage/sys-libs/libseccomp/libseccomp-9999.ebuild 2025-12-01 18:18:04.711919881 +0300
8 8
DISTUTILS_USE_PEP517=setuptools
9 9
PYTHON_COMPAT=( python3_{10..13} )
10 10

  
11
inherit distutils-r1 multilib-minimal
11
inherit distutils-r1 multilib-minimal multiprocessing
12 12

  
13 13
DESCRIPTION="High level interface to Linux seccomp filter"
14 14
HOMEPAGE="https://github.com/seccomp/libseccomp"
......
19 19
	inherit autotools git-r3
20 20
else
21 21
	SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
22
	KEYWORDS="-* amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux"
22
	KEYWORDS="-* ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux"
23 23
fi
24 24

  
25 25
LICENSE="LGPL-2.1"
......
48 48
	"${FILESDIR}"/libseccomp-2.6.0-python-shared.patch
49 49
	"${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch
50 50
	"${FILESDIR}"/${P}-drop-bogus-test.patch
51
	"${FILESDIR}"/${P}-aliasing.patch
52
	"${FILESDIR}"/${P}-bounds.patch
51 53
)
52 54

  
53 55
src_prepare() {
......
58 60

  
59 61
		eautoreconf
60 62
	fi
63

  
64
	# Silence noise when running Python tests
65
	sed -i -e 's:$(pwd)/../src/python/build/lib\.\*:$(pwd):' tests/regression || die
61 66
}
62 67

  
63 68
multilib_src_configure() {
......
89 94
}
90 95

  
91 96
multilib_src_test() {
97
	local -x LIBSECCOMP_TSTCFG_JOBS="$(makeopts_jobs)"
98
	emake -Onone check
99

  
100
	if multilib_is_native_abi && use python ; then
101
		distutils-r1_src_test
102
	fi
103
}
104

  
105
python_test() {
106
	local -x LIBSECCOMP_TSTCFG_MODE_LIST="python"
107

  
92 108
	emake -Onone check
93 109
}
94 110

  
Thank you!