~ruther/guix-local

e64729df20fb52a1cb3f23bf05d1c8c2b2a9d378 — Nicolas Graves 2 months ago d463b29
gnu: python-keyutils: Switch to pyproject.

* gnu/packages/python-crypto.scm (python-keyutils):
[build-system]: Switch to pyproject-build-system.
[arguments]: Relocate field.
[native-inputs]: Add python-setuptools. Remove python-pytest-runner.

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

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +11 -11
@@ 1454,20 1454,20 @@ Password-Authenticated Key Exchange algorithm.")
       (method url-fetch)
       (uri (pypi-uri "keyutils" version))
       (sha256
        (base32
         "0lipygpzhwzzsq2k5imb1jgkmj8y4khxdwhzadjs3bd56g6bmkx9"))))
    (build-system python-build-system)
        (base32 "0lipygpzhwzzsq2k5imb1jgkmj8y4khxdwhzadjs3bd56g6bmkx9"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #f
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'regenerate-c-file
            (lambda _
              (invoke "cython" "keyutils/_keyutils.pyx"))))))
    (native-inputs
     (list python-cython python-pytest python-pytest-runner))
     (list python-cython python-pytest python-setuptools))
    (inputs
     (list keyutils))
    (arguments
     (list #:tests? #f
           #:phases
           #~(modify-phases %standard-phases
               (add-before 'build 'regenerate-c-file
                 (lambda _
                   (invoke "cython" "keyutils/_keyutils.pyx"))))))
    (home-page "https://github.com/sassoftware/python-keyutils")
    (synopsis "Python bindings for keyutils")
    (description