dev-python/python-ethtool: add tests

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2019-02-02 15:37:45 -08:00
parent 8b92331076
commit d6bffad1ce
2 changed files with 35 additions and 0 deletions

View File

@@ -21,3 +21,9 @@ KEYWORDS="~amd64"
DEPEND="dev-libs/libnl:3"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}"/test-skip-wg-dev.patch )
python_test() {
esetup.py test || die "Tests failed with ${EPYTHON}"
}