From db9a4f13a9cefc4b4e80e9205bbb88df637b27ac Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 18 Oct 2025 16:57:14 +0200 Subject: [PATCH] gnu: python-stdlib-list: Update to 0.11.1. * gnu/packages/python-xyz.scm (python-stdlib-list): Update to 0.11.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Re-enable tests. [native-inputs]: Add python-flit-core, python-pytest. [description]: Improve style. Change-Id: Id53f5a6e0ad13eb259007ff68225d13e9d10ec65 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1683bd212414844a82303bceefbf264af32c2e26..8203bda873b0c8fbe193ab534d8d3b749ea00a01 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17024,24 +17024,27 @@ checksums. It implement more than a hundred checksum routines.") stdin/stdout/stderr.") (license license:expat))) +;; TODO: This package is not necessary in Guix. It should be replaced by a +;; trivial python package providing the same functionality. (define-public python-stdlib-list (package (name "python-stdlib-list") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "stdlib-list" version)) - (sha256 - (base32 - "17vdn4q0sdlndc2fr9svapxx6366hnrhkn0fswp1xmr0jxqh7rd1")))) - (build-system python-build-system) - (arguments - `(#:tests? #f)) ; Tests require more dependencies. - (native-inputs - (list python-sphinx)) + (version "0.11.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jackmaney/python-stdlib-list") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14aw5xbqcs0ww9n4659z5dbs89xqpw2s4m3q4gp66br2xr9iybjf")))) + (build-system pyproject-build-system) + (native-inputs (list python-flit-core python-pytest python-sphinx)) (home-page "https://github.com/jackmaney/python-stdlib-list") (synopsis "Python Standard Libraries") - (description "This package contains a list of Python Standard Libraries.") + (description + "This package contains a list of Python Standard Libraries.") (license license:expat))) (define-public python-stopit