| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/python-wifi/python-wifi-0.3.1-r1.ebuild,v 1.2 2011/03/09 16:12:03 jlec Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 6 |
|
| 7 |
PYTHON_DEPEND="2"
|
| 8 |
SUPPORT_PYTHON_ABIS="1"
|
| 9 |
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
| 10 |
|
| 11 |
inherit distutils
|
| 12 |
|
| 13 |
DESCRIPTION="Provides r/w access to a wireless network card's capabilities using the Linux Wireless Extensions"
|
| 14 |
HOMEPAGE="http://pypi.python.org/pypi/python-wifi"
|
| 15 |
SRC_URI="
|
| 16 |
mirror://pypi/packages/source/p/${PN}/${P}.tar.gz
|
| 17 |
mirror://berlios/${PN/-}/${P}.tar.gz"
|
| 18 |
|
| 19 |
SLOT="0"
|
| 20 |
KEYWORDS="~amd64 ~x86"
|
| 21 |
LICENSE="LGPL-2.1 examples? ( GPL-2 )"
|
| 22 |
IUSE="examples"
|
| 23 |
|
| 24 |
RDEPEND=""
|
| 25 |
DEPEND="dev-python/setuptools"
|
| 26 |
|
| 27 |
DOCS="docs/AUTHORS docs/BUGS docs/DEVEL.txt docs/TODO"
|
| 28 |
PYTHON_MODNAME="pythonwifi"
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
distutils_src_install
|
| 32 |
if use examples; then
|
| 33 |
insinto /usr/share/${P}/
|
| 34 |
doins -r examples || die "no examples"
|
| 35 |
fi
|
| 36 |
}
|