22 lines
728 B
Bash
22 lines
728 B
Bash
# Template file for 'python-netifaces'
|
|
pkgname=python-netifaces
|
|
version=0.10.5
|
|
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=59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b
|
|
|
|
python3.4-netifaces_package() {
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|