From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 03/18] gnu: Add python-dulwich. Date: Sun, 2 Oct 2016 11:00:40 +0000 Message-ID: <20161002110054.2297-4-ngillmann@runbox.com> References: <87bmz9cu89.fsf@we.make.ritual.n0.is> <20161002110054.2297-1-ngillmann@runbox.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqeWB-0005am-7d for guix-devel@gnu.org; Sun, 02 Oct 2016 07:01:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqeW9-0002Z8-5F for guix-devel@gnu.org; Sun, 02 Oct 2016 07:01:14 -0400 Received: from aibo.runbox.com ([91.220.196.211]:60993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqeW8-0002Ya-VV for guix-devel@gnu.org; Sun, 02 Oct 2016 07:01:13 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bqeW8-0002Gl-9U for guix-devel@gnu.org; Sun, 02 Oct 2016 13:01:12 +0200 In-Reply-To: <20161002110054.2297-1-ngillmann@runbox.com> 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" To: guix-devel@gnu.org Cc: ng0 From: ng0 * gnu/packages/python.scm (python-dulwich): New variable. --- gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 001545e..02f718a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -693,6 +693,41 @@ certificate returned by the server to which a connection has been established, and verifies that it matches the intended target hostname.") (license license:psfl))) +(define-public python-dulwich + (package + (name "python-dulwich") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dulwich" version)) + (sha256 + (base32 + "14xsyxha6qyxxyf0ma3zv1sy31iy22vzwayk519n7a1gwzk4j7vw")))) + (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))) + (home-page "https://www.dulwich.io/") + (synopsis "Python Git Library") + (description + "Dulwich is a Python implementation of the Git file formats and protocols, +which does not depend on Git itself. All functionality is available in pure Python. +Optional C extensions can be built for improved performance.") + (license (list license:asl2.0 license:gpl2+)) + (properties `((python2-variant . ,(delay python2-dulwich)))))) + +(define-public python2-dulwich + (package + (inherit (package-with-python2 + (strip-python2-variant python-dulwich))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) + (define-public python-h5py (package (name "python-h5py") -- 2.10.0