summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-29 18:07:56 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-04 21:03:14 +0000
commit06cdfdab38fd7418dbdc7a256085089ad1b30967 (patch)
tree1a395be377c5d2b634ade08c4ed06ea28c1850bc /gnu
parentf2f81c242598bbb9acfe43e1c2830209d76d3a7c (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm31
1 files changed, 20 insertions, 11 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index abb44a847fd..d961fbe8c19 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