~ruther/guix-local

3cff5074e7a90a1885e06f22e55f3cefc1b1202b — Nicolas Graves 2 months ago 8d5ab7e
gnu: python-gpg: Switch to pyproject.

* gnu/packages/gnupg.scm (python-gpg):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Relocate keyword.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/gnupg.scm
M gnu/packages/gnupg.scm => gnu/packages/gnupg.scm +4 -4
@@ 588,9 588,10 @@ interface (FFI) of Guile.")
              (sha256
               (base32
                "1ji3ynhp36m1ccx7bmaq75dhij9frpn19v9mpi4aajn8csl194il"))))
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? #f ; No test suite.
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'build 'set-environment


@@ 603,12 604,11 @@ interface (FFI) of Guile.")
                           "extra_macros = { \"_FILE_OFFSET_BITS\": 64 }")))
                     #~())
              (substitute* "setup.py"
                (("cc") (which "gcc"))))))
      #:tests? #f)) ; No test suite.
                (("cc") (which "gcc"))))))))
    (inputs
     (list gpgme))
    (native-inputs
     (list swig))
     (list swig python-setuptools))
    (home-page (package-home-page gpgme))
    (synopsis "Python bindings for GPGME GnuPG cryptography library")
    (description "This package provides Python bindings to the GPGME GnuPG