gentoo/dev-python/python-ethtool/python-ethtool-0.11-r1.ebuild
Georgy Yakovlev 8b92331076
dev-python/python-ethtool: fix duplicate keywords
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
2019-02-02 15:42:20 -08:00

28 lines
659 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
# TODO: install scripts and their man pages
inherit distutils-r1
DESCRIPTION="Ethernet settings python bindings"
HOMEPAGE="https://pypi.org/project/ethtool/
https://github.com/fedora-python/python-ethtool"
SRC_URI="https://github.com/fedora-python/python-ethtool/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/libnl:3"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}/${P}_include-net-if.h-for-IFF_-macros.patch"
)