pkgname=python-netifaces
__pkgname="netifaces"
pkgver=0.5
pkgrel=2
pkgdesc="Python modules for network interfaces"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
depends=('python')
makedepends=('setuptools' )
source=(http://alastairs-place.net/2007/03/netifaces/netifaces-0.5.tar.gz)
url="http://alastairs-place.net/netifaces/"

build() {
  cd "${srcdir}/${__pkgname}-${pkgver}"
  chmod -x -R netifaces.egg-info
  yes "" | python setup.py install --root=$startdir/pkg --prefix=/usr
}