~ruther/guix-local

7eb79a5e58d7154df5c3f000e9bb44e43b018259 — Nicolas Graves 3 months ago f832d16
gnu: python-cyclic: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-cyclic):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -14
@@ 35618,20 35618,20 @@ compatible with BibTeX's own parser.")
  (package
    (name "python-cyclic")
    (version "1.0.0")
    (source (origin
              ;; Use git, as there are some test files missing from the PyPI
              ;; release, see https://github.com/neurobin/cyclic/issues/1
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/neurobin/cyclic")
                    ;; Release is not tagged on github, see
                    ;; https://github.com/neurobin/cyclic/issues/2
                    (commit "bf616c47ea49a43500ea55a1e6f4890323be0679")))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0r8zzjdv70fpxssxps62rlgpii8fr9gh8gykdygqn6mkdnfjwgjc"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/neurobin/cyclic")
              ;; Release is not tagged on github, see
              ;; https://github.com/neurobin/cyclic/issues/2
              (commit "bf616c47ea49a43500ea55a1e6f4890323be0679")))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0r8zzjdv70fpxssxps62rlgpii8fr9gh8gykdygqn6mkdnfjwgjc"))))
    (build-system pyproject-build-system)
    (arguments (list #:test-backend #~'unittest))
    (native-inputs (list python-setuptools))
    (home-page "https://github.com/neurobin/cyclic")
    (synopsis "Handle cyclic relations")
    (description "This package handles cyclic relations compared by value.")