From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dE9tr-0000Bw-4m for guix-patches@gnu.org; Fri, 26 May 2017 03:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dE9tm-0002ZS-HX for guix-patches@gnu.org; Fri, 26 May 2017 03:43:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dE9tm-0002ZM-Dl for guix-patches@gnu.org; Fri, 26 May 2017 03:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dE9tm-000320-7L for guix-patches@gnu.org; Fri, 26 May 2017 03:43:02 -0400 Subject: bug#27081: [PATCH 1/2] gnu: Add python-packaging. References: <20170526073852.GA19030@jasmine> In-Reply-To: <20170526073852.GA19030@jasmine> Resent-Message-ID: From: Leo Famulari Date: Fri, 26 May 2017 03:41:58 -0400 Message-Id: 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: 27081@debbugs.gnu.org --- 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.") (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 packages. +It offers an interface for working with package versions, names, and dependency +information.") +;;; From 'LICENSE': This software is made available under the terms of *either* +;;; of the licenses found in LICENSE.APACHE or LICENSE.BSD. Contributions to +;;; this software is made under the terms of *both* these licenses. + (license (list license:asl2.0 license:bsd-2)))) ; Users can choose between these licenses. + +(define-public python2-packaging + (package-with-python2 python-packaging)) -- 2.13.0