gnu: pius: Update to 2.2.3.

* gnu/packages/gnupg.scm (pius): Update to 2.2.3.
[source]: Switch back to using the tarball release.
[arguments]: End 'set-gpg-file-name' phase on #t.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Troy Sankey 2017-01-26 18:16:43 -05:00 committed by Marius Bakke
parent 95757d8999
commit cda0ef045f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -496,43 +496,36 @@ (define-public python2-gnupg
(package-with-python2 python-gnupg)) (package-with-python2 python-gnupg))
(define-public pius (define-public pius
;; pius 2.2.2 does not work with gpg-agent 2.1, so we take a newer (package
;; commit. When a new pius (> 2.2.2) is released, update this package (name "pius")
;; and delete this message. (version "2.2.3")
;; More info: https://github.com/jaymzh/pius/issues/46 (source (origin
(let ((commit "891687ccb3d232a1fc0e7da7d22572c0318644cb") (method url-fetch)
(base-version "2.2.2")) ; i.e. there were no releases (uri (string-append
; between BASE-VERSION and COMMIT "https://github.com/jaymzh/pius/releases/download/v"
(package version "/pius-" version ".tar.bz2"))
(name "pius") (sha256
(version (string-append base-version "-0." (base32
(string-take commit 7))) "0iy0gnms6lv9hpvk29313kc495a2f7pq2mg6ljxhy233vxsmjsk6"))))
(source (origin (build-system python-build-system)
(method git-fetch) (inputs `(("perl" ,perl) ;for 'pius-party-worksheet'
(uri (git-reference ("gpg" ,gnupg)))
(url "https://github.com/jaymzh/pius.git") (arguments
(commit commit))) `(#:tests? #f
(sha256 #:python ,python-2 ;uses the Python 2 'print' syntax
(base32 #:phases
"0m2na4bnf1rv0zpf404l9ga6pwyf7ijldp4lw5irgh7gkmpllxr3")))) (modify-phases %standard-phases
(build-system python-build-system) (add-before
(inputs `(("perl" ,perl) ;for 'pius-party-worksheet' 'build 'set-gpg-file-name
("gpg" ,gnupg))) (lambda* (#:key inputs outputs #:allow-other-keys)
(arguments (let* ((gpg (string-append (assoc-ref inputs "gpg")
`(#:tests? #f "/bin/gpg")))
#:python ,python-2 ;uses the Python 2 'print' syntax (substitute* "libpius/constants.py"
#:phases (("/usr/bin/gpg2") gpg))
(modify-phases %standard-phases #t))))))
(add-before (synopsis "Programs to simplify GnuPG key signing")
'build 'set-gpg-file-name (description
(lambda* (#:key inputs outputs #:allow-other-keys) "Pius (PGP Individual UID Signer) helps attendees of PGP keysigning
(let* ((gpg (string-append (assoc-ref inputs "gpg")
"/bin/gpg")))
(substitute* "libpius/constants.py"
(("/usr/bin/gpg2") gpg))))))))
(synopsis "Programs to simplify GnuPG key signing")
(description
"Pius (PGP Individual UID Signer) helps attendees of PGP keysigning
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 Keysigning Party while adding security
@ -540,8 +533,8 @@ (define-public pius
pius-keyring-mgr and pius-party-worksheet help organisers of pius-keyring-mgr and pius-party-worksheet help organisers of
PGP keysigning 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