me
/
guix
Archived
1
0
Fork 0

gnu: pius: Update to 3.0.0.

* gnu/packages/gnupg.scm (pius): Update to 3.0.0.
[arguments]: Delete tests? and python arguments.
[phases]{set-gpg-file-name}: Streamline.
[description]: Spell key signing as two words.  Mark commands with Texinfo
markup.
Maxim Cournoyer 2022-04-29 17:34:33 -04:00
parent 9d3c37b2c9
commit 5a2079594f
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 30 additions and 35 deletions

View File

@ -21,6 +21,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me> ;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -638,44 +639,38 @@ signing, decryption, verification, and key-listing parsing.")
(define-public pius (define-public pius
(package (package
(name "pius") (name "pius")
(version "2.2.7") (version "3.0.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://github.com/jaymzh/pius/releases/download/v" "https://github.com/jaymzh/pius/releases/download/v"
version "/pius-" version ".tar.bz2")) version "/pius-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1nsl7czicv95j0gfz4s82ys3g3h2mwr6cq3ilid8bpz3iy7z4ipy")))) "11fhmfvr0avxl222rv43wjd2xjbpxrsmcl8xwmn0nvf1rw95v9fn"))))
(build-system python-build-system) (build-system python-build-system)
(inputs `(("perl" ,perl) ; for 'pius-party-worksheet' (arguments
("gpg" ,gnupg) `(#:phases
("python-six" ,python2-six))) (modify-phases %standard-phases
(arguments (add-before 'build 'set-gpg-file-name
`(#:tests? #f (lambda* (#:key inputs #:allow-other-keys)
#:python ,python-2 ; uses the Python 2 'print' syntax
#:phases
(modify-phases %standard-phases
(add-before
'build 'set-gpg-file-name
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((gpg (search-input-file inputs "/bin/gpg")))
(substitute* "libpius/constants.py" (substitute* "libpius/constants.py"
(("/usr/bin/gpg2") gpg)) (("/usr/bin/gpg2")
#t)))))) (search-input-file inputs "bin/gpg"))))))))
(synopsis "Programs to simplify GnuPG key signing") (inputs (list perl ;for 'pius-party-worksheet'
(description gnupg))
"Pius (PGP Individual UID Signer) helps attendees of PGP keysigning (synopsis "Programs to simplify GnuPG key signing")
(description
"Pius (PGP Individual UID Signer) helps attendees of PGP key signing
parties. It is the main utility and makes it possible to quickly and easily parties. It is the main utility and makes it possible to quickly and easily
sign each UID on a set of PGP keys. It is designed to take the pain out of sign each UID on a set of PGP keys. It is designed to take the pain out of
the sign-all-the-keys part of PGP Keysigning Party while adding security the sign-all-the-keys part of PGP key signing parties while adding security to
to the process. the process. The @command{pius-keyring-mgr} and
@command{pius-party-worksheet} commands help organizers of PGP key signing
pius-keyring-mgr and pius-party-worksheet help organisers of parties.")
PGP keysigning parties.") (license license:gpl2)
(license license:gpl2) (home-page "https://www.phildev.net/pius/index.shtml")))
(home-page "https://www.phildev.net/pius/index.shtml")))
(define-public signing-party (define-public signing-party
(package (package