From b58f9d27ed5e3c907bcc63ebdd731b3a64cd59c5 Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Wed, 28 Jun 2023 00:59:53 +0300 Subject: [PATCH] python3-dnspython: update to 2.3.0 --- srcpkgs/python3-dnspython/template | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/srcpkgs/python3-dnspython/template b/srcpkgs/python3-dnspython/template index 164f67f07639..4cd430839027 100644 --- a/srcpkgs/python3-dnspython/template +++ b/srcpkgs/python3-dnspython/template @@ -1,27 +1,21 @@ # Template file for 'python3-dnspython' pkgname=python3-dnspython -version=2.1.0 -revision=3 +version=2.3.0 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools unzip" +hostmakedepends="python3-pip python3-wheel" depends="python3" -checkdepends="python3-attrs python3-async_generator python3-idna python3-curio - python3-trio python3-outcome python3-sniffio python3-sortedcontainers - python3-requests python3-requests-toolbelt python3-pytest iana-etc" +checkdepends="iana-etc python3-cryptography python3-idna python3-pytest + python3-sniffio python3-trio" 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 +distfiles="${PYPI_SITE}/d/dnspython/dnspython-${version}.tar.gz" +checksum=224e32b03eb46be70e12ef6d64e0be123a64e621ab4c0822ff6d450d52a540b9 +# some tests take too long to pass 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' -} - post_install() { vlicense LICENSE }