From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 4/8] gnu: Add python-dulwich. Date: Tue, 17 Jan 2017 23:43:31 +0100 Message-ID: <878tq9b94c.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170117222548.13995-1-dannym@scratchpost.org> <20170117222548.13995-5-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTcTb-00026w-1k for guix-devel@gnu.org; Tue, 17 Jan 2017 17:43:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTcTW-0007gc-5V for guix-devel@gnu.org; Tue, 17 Jan 2017 17:43:39 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47476) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTcTW-0007gI-1k for guix-devel@gnu.org; Tue, 17 Jan 2017 17:43:34 -0500 In-Reply-To: <20170117222548.13995-5-dannym@scratchpost.org> 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: Danny Milosavljevic , guix-devel@gnu.org --=-=-= Content-Type: text/plain Danny Milosavljevic writes: > * gnu/packages/python.scm (python-dulwich, python2-dulwich): New variables. > --- > gnu/packages/python.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 9572f3a3c..deb801631 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12655,3 +12655,28 @@ Features: > @item Compiles templates into optimized, yet readable, Python code. > @end enumerate") > (license (license:x11-style "file://LICENSE")))) > + > +(define-public python-dulwich > + (package > + (name "python-dulwich") > + (version "0.16.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "dulwich" version)) > + (sha256 > + (base32 "0fl47vzfgc3w3rmhn8naii905cjqcp0vc68iyvymxp7567hh6als")))) > + (build-system python-build-system) > + (propagated-inputs > + `(("python-fastimport" ,python-fastimport))) > + (native-inputs > + `(("python-mock" ,python-mock) > + ("python-geventhttpclient" ,python-geventhttpclient))) Hmm.. Some of these packages come after this package. Please rebase the series so that fastimport and geventhttpclient come earlier. This helps when bisecting, for example. > + (home-page "https://www.dulwich.io/") > + (synopsis "Python git library") > + (description "This package provides a Git library for Python.") This should mention that it is a pure-python implementation. Here is what I had: (synopsis "Git implementation in Python") (description "Dulwich is an implementation of the Git file formats and protocols written in pure Python.") > + ;; dual-licensed Is it both, or either? ;-) I usually write "Can be used with either license.". > + (license (list license:asl2.0 license:gpl2+)))) > + > +(define-public python2-dulwich > + (package-with-python2 python-dulwich)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlh+nhMACgkQoqBt8qM6 VPrcvwf/VM0efbYQsTf8lAEaU7NC5u2owgRku9HXhX0anuXL4h4UXvGJbTY0vHYu sSU7JCKNGoU+LZAWQH1uhANpdWiwdILkq4i8d/DsMsM/6pDbZH0RXkRIjx7V7K8H w7ykUtiYAQoC6h+QedNvlIAiCLifsDsWxFA/HSi4QcC23ugv4+Aqaz2dMIRHgp/p X+s/HHj/lhUMIGHPsQMyi4q2Ghm2n8zTAmMxTmn+Ydkk9u07vwSHvLlWIhHV/tDK c4ZdQeVJPVYm4uaAjl1aGM/KY1wmOYkfzoCs7Xms4bLqUmVt9twHnFf8q040HAOC kN0GABEXcOpUsp/EKNmf5hgyJb/aPA== =Drqy -----END PGP SIGNATURE----- --=-=-=--