From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 05/11] gnu: Add python-pygit2. Date: Mon, 19 Dec 2016 09:07:36 +0000 Message-ID: <20161219090741.5446-6-ng0@libertad.pw> References: <20161214164718.GA31108@jasmine> <20161219090741.5446-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cItvU-0005TL-5N for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cItvT-000604-4g for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:08 -0500 Received: from aibo.runbox.com ([91.220.196.211]:41784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cItvS-0005zo-UB for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:07 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cItvR-0006te-SX for guix-devel@gnu.org; Mon, 19 Dec 2016 10:08:05 +0100 In-Reply-To: <20161219090741.5446-1-ng0@libertad.pw> 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 * gnu/packages/python.scm (python-pygit2): New variable. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0d5e3ca47..cdc8d2b41 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3374,6 +3374,34 @@ association studies (GWAS) on extremely large data sets.") (define-public python2-numpy (package-with-python2 python-numpy)) +(define-public python-pygit2 + (package + (name "python-pygit2") + (version "0.24.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pygit2" version)) + (sha256 + (base32 + "0shnafv9zc483wmcr4fzgvirg1qzz42xpdqd4a3ad39sdj1qbbia")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six) + ("python-cffi" ,python-cffi) + ("libgit2" ,libgit2) + ("python-tox" ,python-tox))) + (home-page "https://github.com/libgit2/pygit2") + (synopsis "Python bindings for libgit2") + (description + "Pygit2 is a set of Python bindings to the libgit2 +shared library, libgit2 implements Git plumbing.") + ;; GPL2.0 only, with linking exception. + (license license:gpl2))) + +(define-public python2-pygit2 + (package-with-python2 python-pygit2)) + (define-public python-pyparsing (package (name "python-pyparsing") -- 2.11.0