mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
dev-libs/libnl: Sync with Gentoo
It's from Gentoo commit d56838a33779350ac14d687b220e4ba3f44ceb37.
This commit is contained in:
parent
a5fff58cde
commit
9d5c709dcb
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -8,7 +8,7 @@ EAPI=8
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_OPTIONAL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools distutils-r1 multilib-minimal
|
||||
|
||||
LIBNL_P=${P/_/-}
|
||||
@ -22,7 +22,7 @@ if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
S="${WORKDIR}/${LIBNL_P}"
|
||||
fi
|
||||
@ -96,6 +96,17 @@ multilib_src_compile() {
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
CK_VERBOSITY=verbose emake check VERBOSE=1
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
pushd python > /dev/null || die
|
||||
# TODO: run python/tests/test-create-bridge.py
|
||||
distutils-r1_src_test
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -8,7 +8,7 @@ EAPI=8
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_OPTIONAL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools distutils-r1 multilib-minimal
|
||||
|
||||
LIBNL_P=${P/_/-}
|
||||
@ -96,6 +96,17 @@ multilib_src_compile() {
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
CK_VERBOSITY=verbose emake check VERBOSE=1
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
pushd python > /dev/null || die
|
||||
# TODO: run python/tests/test-create-bridge.py
|
||||
distutils-r1_src_test
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user