From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Babenhauserheide Subject: Re: Add Package Mercurial Date: Fri, 11 Oct 2013 16:52:58 +0200 Message-ID: <525810CA.6080809@kit.edu> References: <52458272.7020504@kit.edu> <8761tmoyuu.fsf@gnu.org> <524AC417.1020908@kit.edu> <87mwmtrune.fsf@gnu.org> <524AD0FE.6000408@kit.edu> <87d2noabrj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mISPRiCctb9eNO4CK1FW8mkAMaI12tpuS" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUe5V-0004Ai-QF for guix-devel@gnu.org; Fri, 11 Oct 2013 10:53:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUe5Q-0000bl-TC for guix-devel@gnu.org; Fri, 11 Oct 2013 10:53:09 -0400 In-Reply-To: <87d2noabrj.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: "guix-devel@gnu.org" --mISPRiCctb9eNO4CK1FW8mkAMaI12tpuS Content-Type: multipart/mixed; boundary="------------080807010202040704010409" This is a multi-part message in MIME format. --------------080807010202040704010409 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I adapted the patch: Disabled tests and added a FIXME note which links to the required nose testing framework. I hope it=E2=80=99s fit for getting into guix, now. (it=E2=80=99s attached and inline) Best wishes, Arne $ hg export --git tip # HG changeset patch # User Arne Babenhauserheide # 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/mercuria= l-" + 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=C3=A8s: > Hi, >=20 > "Arne Babenhauserheide (IMK)" skribis: >=20 >> I attached an adapted version of the patch reusing the solution from B= azaar. >=20 > Thanks. I had to add #:tests? #f so that it would build (because > =E2=80=98python setup.py test=E2=80=99 is not supported): >=20 --------------080807010202040704010409 Content-Type: text/plain; charset=UTF-8; name="version-control-add-mercurial-4e60285e8bf6.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="version-control-add-mercurial-4e60285e8bf6.diff" IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIEFybmUgQmFiZW5oYXVzZXJoZWlkZSA8YXJu ZS5iYWJlbmhhdXNlcmhlaWRlQGtpdC5lZHU+CiMgRGF0ZSAxMzgxNTAyNzA4IC03MjAwCiMg ICAgICBGcmkgT2N0IDExIDE2OjQ1O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Rob24tYnVpbGQtc3lzdGVt KQorICAgIChhcmd1bWVudHMKKyAgICAgYCg7OyBSZXN0cmljdCB0byBweXRob24yLCBhcyBw eXRob24gMyB3b3VsZCByZXF1aXJlCisgICAgICAgOzsgdGhlIGFyZ3VtZW50IC0tYzJ0bzMK KyAgICAgICAjOnB5dGhvbiAscHl0aG9uLTIKKyAgICAgICA7OyBGSVhNRTogRGlzYWJsZWQg dGVzdHMgYmVjYXVzZSB0aGV5IHJlcXVpcmUgdGhlIG5vc2UgdW5pdAorICAgICAgIDs7IHRl c3RpbmcgZnJhbWV3b3JrOiBodHRwczovL25vc2UucmVhZHRoZWRvY3Mub3JnL2VuL2xhdGVz dC8KKyAgICAgICAjOnRlc3RzPyAjZikpCisgICAgKGhvbWUtcGFnZSAiaHR0cDovL21lcmN1 cmlhbC5zZWxlbmljLmNvbSIpCisgICAgKHN5bm9wc2lzICJEZWNlbnRyYWxpemVkIHZlcnNp b24gY29udHJvbCBzeXN0ZW0iKQorICAgIChkZXNjcmlwdGlvbgorICAgICAiTWVyY3VyaWFs IGlzIGEgZnJlZSwgZGlzdHJpYnV0ZWQgc291cmNlIGNvbnRyb2wgbWFuYWdlbWVudCB0b29s LgorSXQgZWZmaWNpZW50bHkgaGFuZGxlcyBwcm9qZWN0cyBvZiBhbnkgc2l6ZQorYW5kIG9m ZmVycyBhbiBlYXN5IGFuZCBpbnR1aXRpdmUgaW50ZXJmYWNlLiIpCisgICAgKGxpY2Vuc2Ug Z3BsMispKSkKKworCiAoZGVmaW5lLXB1YmxpYyBzdWJ2ZXJzaW9uCiAgIChwYWNrYWdlCiAg ICAgKG5hbWUgInN1YnZlcnNpb24iKQo= --------------080807010202040704010409-- --mISPRiCctb9eNO4CK1FW8mkAMaI12tpuS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSWBDNAAoJEFyD82SnDaCevzYH/RNQacRshz11cun55+mSlR/l 9tm4+IjzAKFEkJld4AS4lUGmWxTQc1eOxnTr2lohPNB8wp5AgpfDghBKxqyf1y5t 0HiQ0CXYCgU8P68OlDyjsH7AX7QKUteEkKAMKTRlUZ0Knrg07rYvXXHA62/bGhrm 0n7eH+2RxBxzjS4jlZ+mqropPfdV06XkXn9+OZXjuftDAiSdPzHZoTm7QRPkLa3x Aj3lvPPBI3Lzx+P3mmDMuJYX3X2cvQNAjupOMJUbPV4XGE8+6DPti8L/obaKa/QR R1tggyGGB2S6SJW3Y925sCqP0AWjogwyA5UZa4k2lHaPJ0SPW8/XkegfS6HjzAs= =nTU8 -----END PGP SIGNATURE----- --mISPRiCctb9eNO4CK1FW8mkAMaI12tpuS--