# Template file for 'python3-ifaddr'
pkgname=python3-ifaddr
version=0.1.4
revision=1
noarch=yes
wrksrc="ifaddr-${version}"
build_style=python3-module
pycompile_module="ifaddr"
hostmakedepends="unzip 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

pre_build() {
	# ipaddress is part of Python 3 stdlib since 3.3
	sed -i '/install_requires/d' setup.py
}
