24 lines
787 B
Bash
24 lines
787 B
Bash
# Template file for 'python3-netaddr'
|
|
pkgname=python3-netaddr
|
|
version=0.8.0
|
|
revision=1
|
|
wrksrc="netaddr-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
checkdepends="python3-pytest python3-cryptography python3-dateutil python3-defusedxml python3-idna python3-openssl python3-pytz python3-requests python3-six python3-urllib3"
|
|
short_desc="Python3 network address manipulation library"
|
|
maintainer="Felix Hanley <felix@userspace.com.au>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/drkjam/netaddr/"
|
|
distfiles="${PYPI_SITE}/n/netaddr/netaddr-${version}.tar.gz"
|
|
checksum=d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243
|
|
conflicts="python-netaddr>=0"
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|