unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48283] [PATCH] gnu: mercurial: Update to 5.8.
@ 2021-05-08 11:53 Xinglu Chen
  2021-05-15 19:49 ` bug#48283: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-05-08 11:53 UTC (permalink / raw)
  To: 48283

* 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.
---
 gnu/packages/version-control.scm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

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

base-commit: e5adaf6c2de917f33f90e24b551a8991e55b3eb6
-- 
2.31.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48283: [PATCH] gnu: mercurial: Update to 5.8.
  2021-05-08 11:53 [bug#48283] [PATCH] gnu: mercurial: Update to 5.8 Xinglu Chen
@ 2021-05-15 19:49 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-05-15 19:49 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 48283-done

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Pushed by Ludovic as bdb6ff3ab13c94ae5b51171c4f1df87f8af398cc. Thanks!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-15 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-08 11:53 [bug#48283] [PATCH] gnu: mercurial: Update to 5.8 Xinglu Chen
2021-05-15 19:49 ` bug#48283: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).