void-packages/srcpkgs/python-netifaces/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

21 lines
693 B
Bash

# Template file for 'python-netifaces'
pkgname=python-netifaces
version=0.10.6
revision=2
wrksrc="netifaces-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-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=0c4da523f36d36f1ef92ee183f2512f3ceb9a9d2a45f7d19cda5a42c6689ebe0
python3-netifaces_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}