guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add Package Mercurial


From: Arne Babenhauserheide
Subject: Re: Add Package Mercurial
Date: Fri, 11 Oct 2013 16:52:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130816 Thunderbird/17.0.8

Hi,

I adapted the patch: Disabled tests and added a FIXME note which links
to the required nose testing framework.

I hope it’s fit for getting into guix, now.
(it’s attached and inline)

Best wishes,
Arne

$ hg export --git tip
# HG changeset patch
# User Arne Babenhauserheide <address@hidden>
# Date 1381502708 -7200
#      Fri Oct 11 16:45:08 2013 +0200
# Node ID 4e60285e8bf65478dccd96d8304f7c026a364e18
# Parent  a34f735e8b79e33072e37f2d1a8a750b0fb24a40
gnu: Add mercurial.

* gnu/packages/version-control.scm (mercurial): New variable.

diff --git a/gnu/packages/version-control.scm
b/gnu/packages/version-control.scm
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -180,6 +180,36 @@
    (license gpl2)
    (home-page "http://git-scm.com/";)))

+
+(define-public mercurial
+  (package
+    (name "mercurial")
+    (version "2.7.1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "http://mercurial.selenic.com/release/mercurial-";
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "121m8f7vmipmdg00cnzdz2rjkgydh28mwfirqkrbs5fv089vywl4"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; Restrict to python2, as python 3 would require
+       ;; the argument --c2to3
+       #:python ,python-2
+       ;; FIXME: Disabled tests because they require the nose unit
+       ;; testing framework: https://nose.readthedocs.org/en/latest/
+       #:tests? #f))
+    (home-page "http://mercurial.selenic.com";)
+    (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.")
+    (license gpl2+)))
+
+
 (define-public subversion
   (package
     (name "subversion")


Am 02.10.2013 00:04, schrieb Ludovic Courtès:
> Hi,
> 
> "Arne Babenhauserheide (IMK)" <address@hidden> skribis:
> 
>> I attached an adapted version of the patch reusing the solution from Bazaar.
> 
> Thanks.  I had to add #:tests? #f so that it would build (because
> ‘python setup.py test’ is not supported):
> 

Attachment: version-control-add-mercurial-4e60285e8bf6.diff
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]