You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/python-wifi/python-wifi-0.5.0-r3.ebuild

34 lines
843 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Provides r/w access to a wireless network card's capabilities"
HOMEPAGE="https://pypi.org/project/python-wifi/"
SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.bz2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
LICENSE="LGPL-2.1 examples? ( GPL-2 )"
IUSE="examples"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DOCS=( docs/AUTHORS docs/BUGS docs/DEVEL.txt docs/TODO )
src_install() {
distutils-r1_src_install
use examples && dodoc -r examples
rm -rv "${ED}"/usr/{docs,examples,INSTALL,README} || die
if use examples; then
mv -v "${ED}"/usr{,/share}/man || die
else
rm -rv "${ED}"/usr/man || die
fi
}