New package: python3-ifaddr-0.1.4

This commit is contained in:
Alessio Sergi 2018-10-01 13:14:14 +02:00
parent d84380f2d5
commit f84875f92c
1 changed files with 21 additions and 0 deletions

View File

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