~ruther/guix-local

4752e43eb0ca3f6171697a7926529e9b29977b5f — Nicolas Graves 5 months ago 7eb79a5
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 <sharlatanus@gmail.com>
1 files changed, 18 insertions(+), 18 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +18 -18
@@ 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