void-packages/srcpkgs/python3-netaddr/template

25 lines
787 B
Bash
Raw Normal View History

2020-09-20 14:44:45 +00:00
# Template file for 'python3-netaddr'
pkgname=python3-netaddr
2020-10-12 19:29:38 +00:00
version=0.8.0
revision=1
2020-09-20 14:44:45 +00:00
wrksrc="netaddr-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
2020-10-12 19:29:38 +00:00
checkdepends="python3-pytest python3-cryptography python3-dateutil python3-defusedxml python3-idna python3-openssl python3-pytz python3-requests python3-six python3-urllib3"
2020-09-20 14:44:45 +00:00
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"
2020-10-12 19:29:38 +00:00
checksum=d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243
2020-09-20 14:44:45 +00:00
conflicts="python-netaddr>=0"
2020-10-12 19:29:38 +00:00
do_check() {
python3 -m pytest
}
2020-09-20 14:44:45 +00:00
post_install() {
vlicense LICENSE
}