~ruther/guix-local

80820841e7977a4f2819405da4652fcff2186e7f — Nicolas Graves 5 months ago 164e2d5
gnu: python-rnc2rng: Update to 2.7.0.

* gnu/packages/python-xyz.scm (python-rnc2rng): Update to 2.7.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Set them.
[native-inputs]: Add python-setuptools.

Change-Id: If03ecdc1145c8c46c85a4df77e1b53e89e1d0210
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 13 insertions(+), 12 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +13 -12
@@ 31233,22 31233,23 @@ By default it uses the open Python vulnerability database Safety DB.")
(define-public python-rnc2rng
  (package
    (name "python-rnc2rng")
    (version "2.6.6")
    (version "2.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "rnc2rng" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/djc/rnc2rng")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1wbqvz2bhq2f5kqi7q2q3m9y5vs9rj970zhnjh502pvvhmbx20as"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-rply))
        (base32 "1wbd8936vs4rinjfmjd8dav6sdz6wrsc0jppqidzzcnzwfp146pf"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:phases (modify-phases %standard-phases
                  (replace 'check
                    (lambda _
                      (invoke "python" "test.py"))))))
     (list
      #:test-backend #~'custom
      #:test-flags #~(list "test.py")))
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-rply))
    (home-page "https://github.com/djc/rnc2rng")
    (synopsis "Convert RELAX NG Compact to regular syntax")
    (description