# Template file for 'python-netifaces'
pkgname=python-netifaces
version=0.10.4
revision=1
wrksrc="netifaces-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
short_desc="Python2 library to retrieve information about network interfaces"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://bitbucket.org/al45tair/netifaces"
license="MIT"
distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
checksum=9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde

python3.4-netifaces_package() {
	short_desc="${short_desc/Python2/Python3.4}"
	pkg_install() {
		vmove usr/lib/python3.4
	}
}
