guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit b9cad7242e22cc9f0c060914470db08a7e2c9cc2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jun 10 17:22:31 2026 +0100

    gnu: python-fqdn: Build from git, enable tests.
    
    * gnu/packages/python-xyz.scm (python-fqdn):
    [source]: Switch to git-fetch.
    [propagated-inputs]: Remove python-cached-property.
    [native-inputs]: Remove python-wheel; add python-pytest.
    
    Change-Id: Ic964a359cb95424e129acbc9edd0aedbdbdd75cc
---
 gnu/packages/python-xyz.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d1c26030b1..516d21c6b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3927,14 +3927,17 @@ documentation of programming languages.")
     (version "1.5.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "fqdn" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ypcrts/fqdn";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "17yqckhymnamszhg06751c83rg3fnr5iy33a135bazvngrkx6phh"))))
+        (base32 "1cfxpvlvfi9s20v93m3rgw7jn6ybc5ga5rwxhrap59zwd9crsh2g"))))
     (build-system pyproject-build-system)
-    (arguments (list #:tests? #false)) ;there are none
-    (propagated-inputs (list python-cached-property))
-    (native-inputs (list python-setuptools python-wheel))
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
     (home-page "https://github.com/ypcrts/fqdn";)
     (synopsis "Validate domain names against RFC 1123")
     (description

Reply via email to