summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-28 22:41:12 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 14:26:17 +0000
commit3cff5074e7a90a1885e06f22e55f3cefc1b1202b (patch)
tree9bbabc08870ea669d9e55d398df649ed0cc0b1d0
parent8d5ab7e3407cf249be770310a3061db89246eece (diff)
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>
-rw-r--r--gnu/packages/gnupg.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 8d45b64c723..8dd72ab3f36 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -588,9 +588,10 @@ interface (FFI) of Guile.")
588 (sha256 588 (sha256
589 (base32 589 (base32
590 "1ji3ynhp36m1ccx7bmaq75dhij9frpn19v9mpi4aajn8csl194il")))) 590 "1ji3ynhp36m1ccx7bmaq75dhij9frpn19v9mpi4aajn8csl194il"))))
591 (build-system python-build-system) 591 (build-system pyproject-build-system)
592 (arguments 592 (arguments
593 (list 593 (list
594 #:tests? #f ; No test suite.
594 #:phases 595 #:phases
595 #~(modify-phases %standard-phases 596 #~(modify-phases %standard-phases
596 (add-before 'build 'set-environment 597 (add-before 'build 'set-environment
@@ -603,12 +604,11 @@ interface (FFI) of Guile.")
603 "extra_macros = { \"_FILE_OFFSET_BITS\": 64 }"))) 604 "extra_macros = { \"_FILE_OFFSET_BITS\": 64 }")))
604 #~()) 605 #~())
605 (substitute* "setup.py" 606 (substitute* "setup.py"
606 (("cc") (which "gcc")))))) 607 (("cc") (which "gcc"))))))))
607 #:tests? #f)) ; No test suite.
608 (inputs 608 (inputs
609 (list gpgme)) 609 (list gpgme))
610 (native-inputs 610 (native-inputs
611 (list swig)) 611 (list swig python-setuptools))
612 (home-page (package-home-page gpgme)) 612 (home-page (package-home-page gpgme))
613 (synopsis "Python bindings for GPGME GnuPG cryptography library") 613 (synopsis "Python bindings for GPGME GnuPG cryptography library")
614 (description "This package provides Python bindings to the GPGME GnuPG 614 (description "This package provides Python bindings to the GPGME GnuPG