me
/
guix
Archived
1
0
Fork 0

gnu: mercurial: Update to 5.8.

* gnu/packages/version-control.scm (mercurial): Update to 5.8.
[build-system]: Switch from ‘python-build-system’ to ‘gnu-build-system’, this
will install additional things like man pages.
[arguments]<#:make-flags>: Set PREFIX argument.
[native-inputs]: Add ‘python-docutils’ for generating man pages.
[inputs]: Add ‘python’.
[description]: Fix formatting.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Xinglu Chen 2021-05-08 13:53:14 +02:00 committed by Ludovic Courtès
parent 909caad6be
commit bdb6ff3ab1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 15 additions and 9 deletions

View File

@ -1607,18 +1607,21 @@ execution of any hook written in any language before every commit.")
(define-public mercurial (define-public mercurial
(package (package
(name "mercurial") (name "mercurial")
(version "5.6.1") (version "5.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.mercurial-scm.org/" (uri (string-append "https://www.mercurial-scm.org/"
"release/mercurial-" version ".tar.gz")) "release/mercurial-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1bgz8f1a7lnmh6lzcvwg6q1yx6i7yibhwy06l4k55i04957jap75")))) "17rhlmmkqz5ll3k68jfzpcifg3nndbcbc2nx7kw8xn3qcj7nlpgw"))))
(build-system python-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'patch-tests (add-after 'unpack 'patch-tests
(lambda _ (lambda _
(substitute* '("tests/test-extdiff.t" (substitute* '("tests/test-extdiff.t"
@ -1671,17 +1674,20 @@ execution of any hook written in any language before every commit.")
;; The test suite takes a long time and produces little ;; The test suite takes a long time and produces little
;; output by default. Prevent timeouts due to silence. ;; output by default. Prevent timeouts due to silence.
"-v")))))))) "-v"))))))))
;; The following inputs are only needed to run the tests.
(native-inputs (native-inputs
`(("python-nose" ,python-nose) `(("python-docutils", python-docutils)
;; The following inputs are only needed to run the tests.
("python-nose" ,python-nose)
("unzip" ,unzip) ("unzip" ,unzip)
("which" ,which))) ("which" ,which)))
(inputs
`(("python" ,python)))
(home-page "https://www.mercurial-scm.org/") (home-page "https://www.mercurial-scm.org/")
(synopsis "Decentralized version control system") (synopsis "Decentralized version control system")
(description (description
"Mercurial is a free, distributed source control management tool. "Mercurial is a free, distributed source control management tool. It
It efficiently handles projects of any size efficiently handles projects of any size and offers an easy and intuitive
and offers an easy and intuitive interface.") interface.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public python-hg-evolve (define-public python-hg-evolve