New package: python-netifaces-0.10.4

This commit is contained in:
Alessio Sergi 2015-04-07 23:37:55 +02:00
parent f6f94aa44d
commit f9a2d0fd67
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# 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
}
}

1
srcpkgs/python3.4-netifaces Symbolic link
View File

@ -0,0 +1 @@
python-netifaces