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

commit 806845c9d9d8f5eba2bc82fd791d925aea950bd0
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 02:54:20 2025 +0100

    gnu: python-typeguard: Move to (gnu packages python-build).
    
    * gnu/packages/python-xyz.scm (python-typeguard): Move from here…
    * gnu/packages/python-build.scm (python-typeguard): …to here.
    [native-inputs]: Replace python-pytest by python-pytest-bootstrap,
    python-setuptools by python-setuptools-bootstrap,
    python-setuptools-scm by python-setuptools-scm-boostrap.
    
    Change-Id: I14196e595b28741d3c97bcd7436d8276ca9425d1
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-build.scm | 27 +++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm   | 27 ---------------------------
 2 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 8f5bcfb923..4b8835dc81 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -406,6 +406,33 @@ and many external plugins.")
 PyPI (pypi.org).")
     (license license:asl2.0)))
 
+(define-public python-typeguard
+  (package
+    (name "python-typeguard")
+    (version "4.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "typeguard" version))
+       (sha256
+        (base32 "0x2zkskia5lb1838ys0bhpp9v6y80jkhchzdz874spbhzggx4zrs"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags #~(list "--ignore-glob=tests/mypy/*.py")))
+    (native-inputs
+     (list python-pytest-bootstrap
+           python-setuptools-bootstrap
+           python-setuptools-scm-bootstrap))
+    (propagated-inputs
+     (list python-typing-extensions))
+    (home-page "https://github.com/agronholm/typeguard";)
+    (synopsis "Run-time type checker for Python")
+    (description
+     "@code{typeguard} provides run-time type checking for functions defined
+with PEP 484 argument (and return) type annotations.")
+    (license license:expat)))
+
 (define-public python-typing-extensions
   (package
     (name "python-typing-extensions")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 88f496dda5..0bfaa20658 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -38613,33 +38613,6 @@ that make use of the more recent PEP585 and PEP604 
type hint features in
 Python versions that don't natively support them.")
     (license license:expat)))
 
-(define-public python-typeguard
-  (package
-    (name "python-typeguard")
-    (version "4.4.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "typeguard" version))
-       (sha256
-        (base32 "0x2zkskia5lb1838ys0bhpp9v6y80jkhchzdz874spbhzggx4zrs"))))
-    (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags #~(list "--ignore-glob=tests/mypy/*.py")))
-    (native-inputs
-     (list python-pytest
-           python-setuptools
-           python-setuptools-scm))
-    (propagated-inputs
-     (list python-typing-extensions))
-    (home-page "https://github.com/agronholm/typeguard";)
-    (synopsis "Run-time type checker for Python")
-    (description
-     "@code{typeguard} provides run-time type checking for functions defined
-with PEP 484 argument (and return) type annotations.")
-    (license license:expat)))
-
 (define-public python-typer
   (package
     (name "python-typer")

Reply via email to