mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-hookdns.
* gnu/packages/python-web.scm (python-hookdns): New variable. Change-Id: I67c717ae18d9cc4189ef5657cbcb240c48e264a7
This commit is contained in:
parent
c74830afeb
commit
c20b77d4a9
1 changed files with 52 additions and 0 deletions
|
@ -374,6 +374,58 @@ The event dispatch is implicit, which means you can easily use @code{Eventlet}
|
||||||
from the Python interpreter, or as a small part of a larger application.")
|
from the Python interpreter, or as a small part of a larger application.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-hookdns
|
||||||
|
(package
|
||||||
|
(name "python-hookdns")
|
||||||
|
(version "2.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "hookdns" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "087x12dy6slhyqwqblby2fpjdcy61yk3lqp3fplami0rmbn02fb7"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-k" (string-join
|
||||||
|
;; Tests requiring networking.
|
||||||
|
(list
|
||||||
|
"not test_patch_contextmanager_with_another_hostname"
|
||||||
|
"test_patch_contextmanager_with_another_hostname_ipv6"
|
||||||
|
"test_patch_contextmanager_with_ipv4"
|
||||||
|
"test_patch_contextmanager_with_name"
|
||||||
|
"test_patch_contextmanager_with_public_fqdn_and_"
|
||||||
|
"test_patch_contextmanager_with_unknown_hostname"
|
||||||
|
"test_patch_decorator_with_another_hostname"
|
||||||
|
"test_patch_decorator_with_another_hostname_ipv6"
|
||||||
|
"test_patch_decorator_with_ipv4"
|
||||||
|
"test_patch_decorator_with_name"
|
||||||
|
"test_patch_decorator_with_public_fqdn_and_a_name_for_"
|
||||||
|
"test_patch_decorator_with_unknown_hostname"
|
||||||
|
"test_real_getaddrinfo_with_name_ipv6"
|
||||||
|
"test_real_getaddrinfo_with_public_fqdn_ipv4"
|
||||||
|
"test_real_getaddrinfo_with_public_fqdn_ipv6"
|
||||||
|
"test_real_gethostbyname_ex_with_public_fqdn"
|
||||||
|
"test_real_gethostbyname_with_public_fqdn"
|
||||||
|
"test_real_requests_ip"
|
||||||
|
"test_real_requests_name"
|
||||||
|
"test_real_requests_with_public_fqdn"
|
||||||
|
"test_reentrant")
|
||||||
|
" and not "))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-requests
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(home-page "https://github.com/cle-b/hookdns")
|
||||||
|
(synopsis "DNS resolution customization library")
|
||||||
|
(description
|
||||||
|
"HookDNS implements functionality that allows for modifying name
|
||||||
|
resolution in a Python script without any changes to the hosts file or the use
|
||||||
|
of a fake DNS resolver.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-huggingface-hub
|
(define-public python-huggingface-hub
|
||||||
(package
|
(package
|
||||||
(name "python-huggingface-hub")
|
(name "python-huggingface-hub")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue