From 06cdfdab38fd7418dbdc7a256085089ad1b30967 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 29 Nov 2025 18:07:56 +0100 Subject: [PATCH] gnu: python-aiodns: Update to 3.5.0. * gnu/packages/python-web.scm (python-aiodns): Update to 3.5.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-pytest-cov, python-pytest-asyncio, python-setuptools. [description]: Improve style. Change-Id: I770d7014f6658458720272d70f57fc16a02d056c Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index abb44a847fdac30f269917c50240c83cecb1c322..d961fbe8c19c61c1fb997ea3cc85b53c18595a54 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2203,23 +2203,32 @@ aiohttp. It supports SOCKS4(a) and SOCKS5.") (define-public python-aiodns (package (name "python-aiodns") - (version "3.0.0") + (version "3.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "aiodns" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/saghul/aiodns") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1mlcw14hxyzd2yg89gj1l84gfi8nbl7h32iw17myxz23wymxyswl")))) - (build-system python-build-system) - (propagated-inputs (list python-pycares)) + (base32 "1as7l48962dpk3r4zdsifj761dks5nyr35hxs7m8crvkyb1dg9m9")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ;tests require internet access + (list + #:tests? #f)) ;tests require internet access + (native-inputs + (list python-pytest + python-pytest-cov + python-pytest-asyncio + python-setuptools)) + (propagated-inputs (list python-pycares)) (home-page "https://github.com/saghul/aiodns") (synopsis "Simple DNS resolver for asyncio") - (description "@code{aiodns} provides a simple way for doing -asynchronous DNS resolutions with a synchronous looking interface by -using @url{https://github.com/saghul/pycares,pycares}.") + (description + "@code{aiodns} provides a simple way for doing asynchronous DNS +resolutions with a synchronous looking interface by using +@url{https://github.com/saghul/pycares,pycares}.") (license license:expat))) (define-public python-aioquic