From febd5c7cce113b489fb6c14a02a63610415f3427 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 23 Sep 2016 11:12:11 +0000 Subject: [PATCH 06/18] gnu: Add python-dulwich-0.9.9. * 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 ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016 Troy Sankey -;;; Copyright © 2016 ng0 +;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Dylan Jeffers ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Marius Bakke @@ -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