From a0f4fdda2992553215c7de7f333e63c564c71f43 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 31 Oct 2025 02:54:20 +0100 Subject: gnu: python-typeguard: Move to (gnu packages python-build). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/packages/python-build.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-build.scm') 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.") 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") -- cgit v1.3