diff --git a/srcpkgs/python3-dnspython/template b/srcpkgs/python3-dnspython/template index 9891147aa66..c90fab43157 100644 --- a/srcpkgs/python3-dnspython/template +++ b/srcpkgs/python3-dnspython/template @@ -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 " 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