From: Arne Babenhauserheide <arne.babenhauserheide@kit.edu>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Add Package Mercurial
Date: Fri, 11 Oct 2013 16:52:58 +0200 [thread overview]
Message-ID: <525810CA.6080809@kit.edu> (raw)
In-Reply-To: <87d2noabrj.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 2289 bytes --]
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 <arne.babenhauserheide@kit.edu>
# 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)" <arne.babenhauserheide@kit.edu> 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 #1.2: version-control-add-mercurial-4e60285e8bf6.diff --]
[-- Type: text/plain, Size: 1643 bytes --]
# HG changeset patch
# User Arne Babenhauserheide <arne.babenhauserheide@kit.edu>
# 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")
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]
next prev parent reply other threads:[~2013-10-11 14:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 13:04 Add Package Mercurial Arne Babenhauserheide (IMK)
2013-09-27 19:20 ` Ludovic Courtès
2013-10-01 12:46 ` Arne Babenhauserheide (IMK)
2013-10-01 13:24 ` Ludovic Courtès
2013-10-01 13:41 ` Arne Babenhauserheide (IMK)
2013-10-01 22:04 ` Ludovic Courtès
2013-10-11 14:52 ` Arne Babenhauserheide [this message]
2013-10-11 20:19 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525810CA.6080809@kit.edu \
--to=arne.babenhauserheide@kit.edu \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).