From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEF2E-0007lq-1O for guix-patches@gnu.org; Fri, 26 May 2017 09:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEF2A-0006Kg-SB for guix-patches@gnu.org; Fri, 26 May 2017 09:12:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEF2A-0006KV-NE for guix-patches@gnu.org; Fri, 26 May 2017 09:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEF2A-0003sh-JU for guix-patches@gnu.org; Fri, 26 May 2017 09:12:02 -0400 Subject: bug#27081: [PATCH 1/2] gnu: Add python-packaging. Resent-Message-ID: From: Marius Bakke In-Reply-To: References: <20170526073852.GA19030@jasmine> Date: Fri, 26 May 2017 15:11:15 +0200 Message-ID: <87inknu5jg.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari , 27081@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > --- > gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 62fada66a..e7dba73c6 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -14676,3 +14676,34 @@ JSON APIs with Behave.") >=20=20 > (define-public python2-behave-web-api > (package-with-python2 python-behave-web-api)) > + > +(define-public python-packaging > + (package > + (name "python-packaging") > + (version "16.8") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "packaging" version)) > + (sha256 > + (base32 > + "17k1xbjshackwvbsnxqixbph8rbqhz4bf4g3al5xyzhavxgq6l2x")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-pretend" ,python-pretend) > + ("python-pytest" ,python-pytest))) > + (propagated-inputs > + `(("python-pyparsing" ,python-pyparsing) > + ("python-six" ,python-six))) > + (home-page "https://github.com/pypa/packaging") > + (synopsis "Core utilities for Python packages") > + (description "Packaging is a Python module for dealing with Python p= ackages. > +It offers an interface for working with package versions, names, and dep= endency > +information.") > +;;; From 'LICENSE': This software is made available under the terms of *= either* > +;;; of the licenses found in LICENSE.APACHE or LICENSE.BSD. Contribution= s to > +;;; this software is made under the terms of *both* these licenses. Please only use two semicolons here, with indentation. IMO the "triple semicolons" are for "meta-commentary" about the module, not for code comments. Other than that looks good. As a side note, I typically don't append to modules since the patch context quickly becomes outdated (like now), but that's another issue entirely :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkoKXMACgkQoqBt8qM6 VPpYnAf/UgDla+Nw46OCVD/LmZb5pSm0cNmqM7j3Gp+VnkHT3fw0TyeiGDRgr1bf 3BqVOqtwSiVmWG+kPVA3Xk8tlX1f+I0hfAxVOxZbT0HjdkPFZdybhH0MAytbB+/b 6Gzcvq3L336CJEIU5IMqM8H2/W5qgG7gi4jcGgrw9RfQX2Vl98TMkgQR0W9FekCD vsrKcFNAnZeXHdxhxwLh8ehAY1Rl/etocUJuab9yGJ4A5KUVFSwHJQlTrPSj3dMH /qmfKzsSw4gn1tqJnRBsnxo7zBHiTf2kC12EmdRFYwGBO7IEt+jdgVGUvXb8uoAi vopvwlRooggfWbeK/H15J8OKqbTu/A== =FUH8 -----END PGP SIGNATURE----- --=-=-=--