summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 02:54:20 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:23 +0100
commita0f4fdda2992553215c7de7f333e63c564c71f43 (patch)
tree3e12f8dd18a5f38dd92633c33a93d3793d308ddd
parent05c66d405a942ca9ce2de1f31f8ccf2a7409e774 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-build.scm27
-rw-r--r--gnu/packages/python-xyz.scm27
2 files changed, 27 insertions, 27 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 69d41488568..fd0333affd6 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -406,6 +406,33 @@ and many external plugins.")
406PyPI (pypi.org).") 406PyPI (pypi.org).")
407 (license license:asl2.0))) 407 (license license:asl2.0)))
408 408
409(define-public python-typeguard
410 (package
411 (name "python-typeguard")
412 (version "4.4.4")
413 (source
414 (origin
415 (method url-fetch)
416 (uri (pypi-uri "typeguard" version))
417 (sha256
418 (base32 "0x2zkskia5lb1838ys0bhpp9v6y80jkhchzdz874spbhzggx4zrs"))))
419 (build-system pyproject-build-system)
420 (arguments
421 (list
422 #:test-flags #~(list "--ignore-glob=tests/mypy/*.py")))
423 (native-inputs
424 (list python-pytest-bootstrap
425 python-setuptools-bootstrap
426 python-setuptools-scm-bootstrap))
427 (propagated-inputs
428 (list python-typing-extensions))
429 (home-page "https://github.com/agronholm/typeguard")
430 (synopsis "Run-time type checker for Python")
431 (description
432 "@code{typeguard} provides run-time type checking for functions defined
433with PEP 484 argument (and return) type annotations.")
434 (license license:expat)))
435
409(define-public python-typing-extensions 436(define-public python-typing-extensions
410 (package 437 (package
411 (name "python-typing-extensions") 438 (name "python-typing-extensions")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e8d182da35c..4905e6abea5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -38719,33 +38719,6 @@ that make use of the more recent PEP585 and PEP604 type hint features in
38719Python versions that don't natively support them.") 38719Python versions that don't natively support them.")
38720 (license license:expat))) 38720 (license license:expat)))
38721 38721
38722(define-public python-typeguard
38723 (package
38724 (name "python-typeguard")
38725 (version "4.4.4")
38726 (source
38727 (origin
38728 (method url-fetch)
38729 (uri (pypi-uri "typeguard" version))
38730 (sha256
38731 (base32 "0x2zkskia5lb1838ys0bhpp9v6y80jkhchzdz874spbhzggx4zrs"))))
38732 (build-system pyproject-build-system)
38733 (arguments
38734 (list
38735 #:test-flags #~(list "--ignore-glob=tests/mypy/*.py")))
38736 (native-inputs
38737 (list python-pytest
38738 python-setuptools
38739 python-setuptools-scm))
38740 (propagated-inputs
38741 (list python-typing-extensions))
38742 (home-page "https://github.com/agronholm/typeguard")
38743 (synopsis "Run-time type checker for Python")
38744 (description
38745 "@code{typeguard} provides run-time type checking for functions defined
38746with PEP 484 argument (and return) type annotations.")
38747 (license license:expat)))
38748
38749(define-public python-typer 38722(define-public python-typer
38750 (package 38723 (package
38751 (name "python-typer") 38724 (name "python-typer")