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>
This commit is contained in:
Nicolas Graves 2025-12-28 22:41:12 +01:00 committed by Sharlatan Hellseher
parent 8d5ab7e340
commit 3cff5074e7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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