# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
+inherit autotools distutils-r1 git-r3 libtool multilib multilib-minimal
DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces"
HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl"
}
multilib_src_install() {
- emake DESTDIR="${D}" install
+ default
if multilib_is_native_abi && use python; then
# Unset DOCS= since distutils-r1.eclass interferes
multilib_src_install_all() {
einstalldocs
- prune_libtool_files --modules
+ find "${D}" -name '*.la' -delete || die
}