Diff libnl-3.8.0 with a libnl-9999

/usr/portage/dev-libs/libnl/libnl-9999.ebuild 2024-12-25 14:59:48.371270071 +0300
8 8
DISTUTILS_EXT=1
9 9
DISTUTILS_OPTIONAL=1
10 10
DISTUTILS_USE_PEP517=setuptools
11
PYTHON_COMPAT=( python3_{10..11} )
11
PYTHON_COMPAT=( python3_{10..12} )
12 12
inherit autotools distutils-r1 multilib-minimal
13 13

  
14 14
LIBNL_P=${P/_/-}
......
22 22
	inherit git-r3
23 23
else
24 24
	SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz"
25
	KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
25
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
26 26

  
27 27
	S="${WORKDIR}/${LIBNL_P}"
28 28
fi
......
67 67
	/usr/include/libnl3/netlink/cli/utils.h
68 68
)
69 69

  
70
PATCHES=(
71
	"${FILESDIR}"/${P}-python-decorator-syntax.patch
72
	"${FILESDIR}"/${PN}-3.8.0-printf-non-bash.patch
73
)
74

  
75 70
src_prepare() {
76 71
	default
77 72

  
......
102 97
		popd > /dev/null || die
103 98
	fi
104 99
}
100

  
101
multilib_src_test() {
102
	CK_VERBOSITY=verbose emake check VERBOSE=1
103

  
104
	if multilib_is_native_abi && use python ; then
105
		pushd python > /dev/null || die
106
		# TODO: run python/tests/test-create-bridge.py
107
		distutils-r1_src_test
108
		popd > /dev/null || die
109
	fi
110
}
105 111

  
106 112
multilib_src_install() {
107 113
	default
Thank you!