From 4752e43eb0ca3f6171697a7926529e9b29977b5f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 22 Nov 2025 19:11:32 +0100 Subject: [PATCH] gnu: python-rcslice: Switch to pyproject. * gnu/packages/python-xyz.scm (python-rcslice): [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend>: Set it. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I68ab5aa82276a023d7c3b8bb084d72e6ba2aa131 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c75234eeb86f18ae856ff4e6be4480fdc861776c..416c0d7a57f7798b7064bf00c81426da75ddaa9a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35641,26 +35641,26 @@ compatible with BibTeX's own parser.") (package (name "python-rcslice") (version "1.1.0") - (source (origin - ;; Use git, as there are some test files missing from the PyPI - ;; release, see https://github.com/neurobin/rcslice/issues/1 - (method git-fetch) - (uri (git-reference - (url "https://github.com/neurobin/rcslice") - ;; Releases are not tagged on github, see - ;; https://github.com/neurobin/rcslice/issues/2 - (commit "1e1ef42cd262db76b67ded430630d5b499790f42"))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1lmhcgghh60kvdlx0cin1phhgfy9jivc6l0mb4ibnpa1x1md0zvv")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurobin/rcslice") + ;; Releases are not tagged on github, see + ;; https://github.com/neurobin/rcslice/issues/2 + (commit "1e1ef42cd262db76b67ded430630d5b499790f42"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lmhcgghh60kvdlx0cin1phhgfy9jivc6l0mb4ibnpa1x1md0zvv")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/neurobin/rcslice") (synopsis "Slice a list of sliceables") - (description "This package provides Python module to slice a list of -sliceables (1 indexed, both start and end index are inclusive). Helps to -slice file content line by line or column by column or a combination of -both.") + (description + "This package provides Python module to slice a list of sliceables (1 +indexed, both start and end index are inclusive). Helps to slice file content +line by line or column by column or a combination of both.") (license license:bsd-3))) (define-public python-rpds-py