guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3cff5074e7a90a1885e06f22e55f3cefc1b1202b
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Dec 28 22:41:12 2025 +0100

    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 <[email protected]>
---
 gnu/packages/gnupg.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 8d45b64c72..8dd72ab3f3 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -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

Reply via email to