gnu: certbot, python-acme: Update to 0.7.0.
These packages should be updated together. * gnu/packages/tls.scm (certbot): Update to 0.7.0. (arguments): Adjust 'docs' phase to new build system and work around upstream typo. (python-acme, python2-acme): Update to 0.7.0.
This commit is contained in:
parent
99c866a0bb
commit
234d0b6914
|
@ -358,16 +358,16 @@ security, and applying best practice development processes.")
|
||||||
(define-public python-acme
|
(define-public python-acme
|
||||||
(package
|
(package
|
||||||
(name "python-acme")
|
(name "python-acme")
|
||||||
(version "0.6.0")
|
(version "0.7.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"https://pypi.python.org/packages/"
|
"https://pypi.python.org/packages/"
|
||||||
"af/33/703e5ec3d7efde7c4d2fcea9cdf88953a33d4e72aafd5b0a330173a7b395/"
|
"d9/8c/69dfff1020cd05d00cb44879db401ea3aca13eeed56cc72bea5ebe118ee5/"
|
||||||
"acme-" version ".tar.gz"))
|
"acme-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ipck25c6nr0x54w2cc8ziwjmyyrpyz6pc1y8xc9nqmxvw4n0kpc"))))
|
"1fgf32zpkwp5nwiyay4vagyiqnpw325fxga1nwk20h3qg6aa2xcz"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -420,30 +420,31 @@ security, and applying best practice development processes.")
|
||||||
(define-public certbot
|
(define-public certbot
|
||||||
(package
|
(package
|
||||||
(name "certbot")
|
(name "certbot")
|
||||||
(version "0.6.0")
|
(version "0.7.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"https://pypi.python.org/packages/"
|
"https://pypi.python.org/packages/"
|
||||||
"fc/eb/7594bf16d89909a9d52c46edbeae669d4b2ee6e12453bd97e674d0371920/"
|
"d8/08/dde6bc98204c79bdefe0c1ae3a08c44f4f319197b0fc34c109a9f6a6df64/"
|
||||||
name "-" version ".tar.gz"))
|
name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ba95cf6shmyhi4vzvk64vbkrmr8qvkn32k3xwb2iv7ybbfbgc40"))))
|
"127ykqsw39h7gvlax0zhv9x6sfwp6hps7lq2d20apl8nbvbq6l5d"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2
|
`(#:python ,python-2
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'docs
|
(add-after 'build 'docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(man1 (string-append out "/share/man/man1"))
|
(man1 (string-append out "/share/man/man1"))
|
||||||
(man7 (string-append out "/share/man/man7"))
|
(man7 (string-append out "/share/man/man7"))
|
||||||
(info (string-append out "/info")))
|
(info (string-append out "/info")))
|
||||||
|
;; Fix path.
|
||||||
|
;; https://github.com/certbot/certbot/pull/3102
|
||||||
(substitute* "docs/man/certbot.rst"
|
(substitute* "docs/man/certbot.rst"
|
||||||
(("certbot --help all")
|
(("cli-help.txt") "../cli-help.txt"))
|
||||||
(string-append out "/bin/certbot" " --help all")))
|
|
||||||
(and
|
(and
|
||||||
(zero? (system* "make" "-C" "docs" "man" "info"))
|
(zero? (system* "make" "-C" "docs" "man" "info"))
|
||||||
(install-file "docs/_build/texinfo/Certbot.info" info)
|
(install-file "docs/_build/texinfo/Certbot.info" info)
|
||||||
|
|
Loading…
Reference in New Issue