python3-ifaddr: update to 0.1.6

This commit is contained in:
Alessio Sergi 2018-12-28 00:12:39 +01:00
parent aa44d7b21b
commit 064376a593
1 changed files with 7 additions and 7 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'python3-ifaddr'
pkgname=python3-ifaddr
version=0.1.4
version=0.1.6
revision=1
noarch=yes
wrksrc="ifaddr-${version}"
build_style=python3-module
pycompile_module="ifaddr"
hostmakedepends="unzip python3-setuptools"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Enumerates all IP addresses on all network adapters of the system"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pydron/ifaddr"
distfiles="${PYPI_SITE}/i/ifaddr/ifaddr-${version}.zip"
checksum=cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b
distfiles="${PYPI_SITE}/i/ifaddr/ifaddr-${version}.tar.gz"
checksum=c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93
pre_build() {
# ipaddress is part of Python 3 stdlib since 3.3
sed -i '/install_requires/d' setup.py
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' setup.py >LICENSE.txt
vlicense LICENSE.txt
}