1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
8 # TODO: install scripts and their man pages
12 DESCRIPTION="Ethernet settings python bindings"
13 HOMEPAGE="https://pypi.org/project/ethtool/
14 https://github.com/fedora-python/python-ethtool"
15 SRC_URI="https://github.com/fedora-python/python-ethtool/archive/v${PV}.tar.gz -> ${P}.tar.gz"
21 DEPEND="dev-libs/libnl:3"
23 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
25 PATCHES=( "${FILESDIR}"/test-skip-wg-dev.patch )
28 esetup.py test || die "Tests failed with ${EPYTHON}"