python3-netaddr: update to 1.2.1.
This commit is contained in:
parent
2687925363
commit
75c9e939c7
|
@ -1,23 +1,28 @@
|
|||
# Template file for 'python3-netaddr'
|
||||
pkgname=python3-netaddr
|
||||
version=0.8.0
|
||||
revision=4
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
version=1.2.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools python3-wheel"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-cryptography python3-dateutil python3-defusedxml python3-idna python3-openssl python3-pytz python3-requests python3-six python3-urllib3"
|
||||
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/"
|
||||
homepage="https://github.com/netaddr/netaddr"
|
||||
distfiles="${PYPI_SITE}/n/netaddr/netaddr-${version}.tar.gz"
|
||||
checksum=d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243
|
||||
checksum=6eb8fedf0412c6d294d06885c110de945cf4d22d2b510d0404f4e06950857987
|
||||
conflicts="python-netaddr>=0"
|
||||
|
||||
do_check() {
|
||||
python3 -m pytest
|
||||
}
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
make_check_args+=" --deselect=docs/source/tutorial_01.rst::tutorial_01.rst
|
||||
--deselect=docs/source/tutorial_03.rst::tutorial_03.rst
|
||||
--deselect=netaddr/tests/strategy/test_ipv6_strategy.py::test_strategy_ipv6
|
||||
--deselect=netaddr/tests/strategy/test_ipv6_strategy.py::test_strategy_ipv6_mapped_and_compatible_ipv4_string_formatting"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue