guix-devel
[Top][All Lists]
Advanced

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

[PATCH 06/18] gnu: Add python-dulwich-0.9.9.


From: ng0
Subject: [PATCH 06/18] gnu: Add python-dulwich-0.9.9.
Date: Sun, 2 Oct 2016 11:00:43 +0000

* gnu/packages/python.scm (python-dulwich-0.9.9): New variable.
---
 gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 67b35aa..37a8010 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2016 Daniel Pimentel <address@hidden>
 ;;; Copyright © 2016 Sou Bunnbu <address@hidden>
 ;;; Copyright © 2016 Troy Sankey <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
 ;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
 ;;; Copyright © 2016 David Craven <address@hidden>
 ;;; Copyright © 2016 Marius Bakke <address@hidden>
@@ -728,6 +728,35 @@ Optional C extensions can be built for improved 
performance.")
     (native-inputs
      `(("python2-setuptools" ,python2-setuptools)))))
 
+;; kallithea-0.3.2 needs dulwich-0.9.9
+(define-public python-dulwich-0.9.9
+  (package
+    (inherit python-dulwich)
+    (name "python-dulwich-0.9.9")
+    (version "0.9.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dulwich.io/releases/dulwich-"; version 
".tar.gz"))
+       (sha256
+        (base32
+         "15l45063rpb5jn2c5b4x82fcjdg7p1bxnj9jh810032diln7ckh8"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; swift module not yet ported to python3, 5 tests fail
+    (inputs
+     `(("python-mock" ,python-mock)
+       ("python-gevent" ,python-gevent)
+       ("python-geventhttpclient" ,python-geventhttpclient)
+       ("python-fastimport" ,python-fastimport)))))
+
+(define-public python2-dulwich-0.9.9
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-dulwich-0.9.9)))
+    (native-inputs
+     `(("python2-setuptools" ,python2-setuptools)))))
+
 (define-public python-h5py
   (package
     (name "python-h5py")
-- 
2.10.0




reply via email to

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