summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Covrig <aaron.covrig.us@ieee.org>2025-12-22 03:25:46 -0500
committerCayetano Santos <csantosb@inventati.org>2025-12-22 18:56:48 +0100
commita2df6c460f9777879a78a510fa5c3cc08ed0b4c1 (patch)
tree158f883214065ad5a2e7fad52f83bf666888cfc7
parent5ecec89784d419acf59cee6d80b9d3a46eaec478 (diff)
gnu: pius: Update to 3.0.0-0.5f7c10b.
* gnu/packages/gnupg.scm (pius)[source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:check>: Execute project test script. [native-inputs]: Add python-setuptools. [home-page]: Update url. Change-Id: I8d1228789cde2de4dda67a07f9859bb47e510608 Signed-off-by: Cayetano Santos <csantosb@inventati.org> Modified-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/gnupg.scm35
1 files changed, 22 insertions, 13 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 535b3b28138..8d45b64c723 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -710,18 +710,22 @@ signing, decryption, verification, and key-listing parsing.")
710 (license license:perl-license))) 710 (license license:perl-license)))
711 711
712(define-public pius 712(define-public pius
713 ;; The last release was from 2019, the latest commit is from 2025
714 (let ((commit "5f7c10bd3b058c864b128a3b0e0c0efa1f1befa2")
715 (revision "0"))
713 (package 716 (package
714 (name "pius") 717 (name "pius")
715 (version "3.0.0") 718 (version (git-version "3.0.0" revision commit))
716 (source (origin 719 (source
717 (method url-fetch) 720 (origin
718 (uri (string-append 721 (method git-fetch)
719 "https://github.com/jaymzh/pius/releases/download/v" 722 (uri (git-reference
720 version "/pius-" version ".tar.bz2")) 723 (url "https://github.com/jaymzh/pius")
721 (sha256 724 (commit commit)))
722 (base32 725 (file-name (git-file-name name version))
723 "11fhmfvr0avxl222rv43wjd2xjbpxrsmcl8xwmn0nvf1rw95v9fn")))) 726 (sha256
724 (build-system python-build-system) 727 (base32 "0qf1fxwdrnfkia0c1iz752mb9flbjl9jgh75dls51j1k8fzbl758"))))
728 (build-system pyproject-build-system)
725 (arguments 729 (arguments
726 (list 730 (list
727 #:phases 731 #:phases
@@ -730,8 +734,13 @@ signing, decryption, verification, and key-listing parsing.")
730 (lambda* (#:key inputs #:allow-other-keys) 734 (lambda* (#:key inputs #:allow-other-keys)
731 (substitute* "libpius/constants.py" 735 (substitute* "libpius/constants.py"
732 (("/usr/bin/gpg2") 736 (("/usr/bin/gpg2")
733 (search-input-file inputs "bin/gpg")))))))) 737 (search-input-file inputs "bin/gpg")))))
734 (inputs (list perl ;for 'pius-party-worksheet' 738 (replace 'check
739 (lambda* (#:key tests? test-flags #:allow-other-keys)
740 (when tests?
741 (invoke "./run_tests")))))))
742 (native-inputs (list python-setuptools))
743 (inputs (list perl ;for 'pius-party-worksheet'
735 gnupg)) 744 gnupg))
736 (synopsis "Programs to simplify GnuPG key signing") 745 (synopsis "Programs to simplify GnuPG key signing")
737 (description 746 (description
@@ -743,7 +752,7 @@ the process. The @command{pius-keyring-mgr} and
743@command{pius-party-worksheet} commands help organizers of PGP key signing 752@command{pius-party-worksheet} commands help organizers of PGP key signing
744parties.") 753parties.")
745 (license license:gpl2) 754 (license license:gpl2)
746 (home-page "https://www.phildev.net/pius/index.shtml"))) 755 (home-page "https://github.com/jaymzh/pius"))))
747 756
748(define-public signing-party 757(define-public signing-party
749 (package 758 (package