unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43082] [PATCH 0/1] gnu: Add python-hg-evolve.
@ 2020-08-28 10:23 Tanguy Le Carrour
  2020-08-28 10:25 ` [bug#43082] [PATCH 1/1] " Tanguy Le Carrour
  0 siblings, 1 reply; 3+ messages in thread
From: Tanguy Le Carrour @ 2020-08-28 10:23 UTC (permalink / raw)
  To: 43082; +Cc: Tanguy Le Carrour

Hi Guix!

The patch is OK, but `guix lint` crashes at the "refresh" step!

I don't know if it's a problem with the package definition (but `build`
produces a working package) or with the `lint` command.

My previous version of the package definition was grabbing the code from PyPI.
With that version the linter was happy. It's been crashing since I changed
to `hg-fetch`.

Tanguy Le Carrour (1):
  gnu: Add python-hg-evolve.

 gnu/packages/version-control.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

-- 
2.28.0





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

* [bug#43082] [PATCH 1/1] gnu: Add python-hg-evolve.
  2020-08-28 10:23 [bug#43082] [PATCH 0/1] gnu: Add python-hg-evolve Tanguy Le Carrour
@ 2020-08-28 10:25 ` Tanguy Le Carrour
  2020-09-10 10:30   ` bug#43082: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Tanguy Le Carrour @ 2020-08-28 10:25 UTC (permalink / raw)
  To: 43082; +Cc: Tanguy Le Carrour

* gnu/packages/version-control.scm (python-hg-evolve): New variable.
---
 gnu/packages/version-control.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index bc8e5f21ab..e4817e52e8 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2020 John D. Boy <jboy@bius.moe>
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -52,6 +53,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix hg-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
@@ -1650,6 +1652,32 @@ It efficiently handles projects of any size
 and offers an easy and intuitive interface.")
     (license license:gpl2+)))
 
+(define-public python-hg-evolve
+  (package
+    (name "python-hg-evolve")
+    (version "10.0.1")
+    (source
+      (origin
+        (method hg-fetch)
+        (uri (hg-reference
+               (url "https://www.mercurial-scm.org/repo/evolve")
+               (changeset version)))
+        (file-name (string-append name "-" version "-checkout"))
+        (sha256
+          (base32
+            "1lz407373lfam9n02gq0l0rc2sjvn0m96kbzy93ipia3ika8fa68"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests need mercurial source code.
+     '(#:tests? #f))
+    (propagated-inputs
+      `(("mercurial" ,mercurial)))
+    (home-page "https://www.mercurial-scm.org/doc/evolution/")
+    (synopsis "Flexible evolution of Mercurial history")
+    (description "Evolve is a Mercurial extension for faster and safer mutable
+history.  It implements the changeset evolution concept for Mercurial.")
+    (license license:gpl2)))
+
 (define-public neon
   (package
     (name "neon")
-- 
2.28.0





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

* bug#43082: [PATCH 1/1] gnu: Add python-hg-evolve.
  2020-08-28 10:25 ` [bug#43082] [PATCH 1/1] " Tanguy Le Carrour
@ 2020-09-10 10:30   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-09-10 10:30 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 43082-done

Hi,

Tanguy Le Carrour <tanguy@bioneland.org> skribis:

> * gnu/packages/version-control.scm (python-hg-evolve): New variable.

Pushed, thanks!

Ludo’.




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

end of thread, other threads:[~2020-09-10 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 10:23 [bug#43082] [PATCH 0/1] gnu: Add python-hg-evolve Tanguy Le Carrour
2020-08-28 10:25 ` [bug#43082] [PATCH 1/1] " Tanguy Le Carrour
2020-09-10 10:30   ` bug#43082: " Ludovic Courtès

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).