python3-dnspython: update to 2.6.1.

This commit is contained in:
Joel Beckmeyer 2024-08-14 10:06:59 -04:00 committed by classabbyamp
parent c3e62eb8a6
commit c2b98fdd1b
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5

View File

@ -1,9 +1,9 @@
# Template file for 'python3-dnspython'
pkgname=python3-dnspython
version=2.1.0
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools unzip"
version=2.6.1
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3"
checkdepends="python3-attrs python3-async_generator python3-idna python3-curio
python3-trio python3-outcome python3-sniffio python3-sortedcontainers
@ -12,15 +12,9 @@ short_desc="DNS toolkit for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://www.dnspython.org/"
distfiles="${PYPI_SITE}/d/dnspython/dnspython-${version}.zip"
checksum=e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4
# Some tests not working
make_check=extended
do_check() {
# All tests should work again in version 2.1.1 or 2.2.0 (https://github.com/rthalley/dnspython/issues/622)
PYTHONPATH=$(cd build/lib* && pwd) pytest -k 'not test_unpickle'
}
changelog="https://dnspython.readthedocs.io/en/stable/whatsnew.html"
distfiles="${PYPI_SITE}/d/dnspython/dnspython-${version}.tar.gz"
checksum=e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc
post_install() {
vlicense LICENSE