From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 10/11] gnu: Add python-pkginfo. Date: Mon, 11 Sep 2017 20:22:41 +0200 Message-ID: <20170911182242.7422-11-tipecaml@gmail.com> References: <20170911182242.7422-1-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drTMU-0007do-4i for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drTMQ-0003kY-7X for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:10 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:34032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drTMQ-0003ia-0b for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:06 -0400 Received: by mail-wr0-x22e.google.com with SMTP id v109so16372084wrc.1 for ; Mon, 11 Sep 2017 11:23:05 -0700 (PDT) In-Reply-To: <20170911182242.7422-1-tipecaml@gmail.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 * gnu/packages/python.scm (python-pkginfo, python2-pkginfo): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 99ef1a06b..979862775 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16379,3 +16379,33 @@ ignoring formatting changes.") (define-public python2-tqdm (package-with-python2 python-tqdm)) + +(define-public python-pkginfo + (package + (name "python-pkginfo") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pkginfo" version)) + (sha256 + (base32 + "17pqjfpq3c6xzdmk8pski6jcjgjv78q00zjf2bgzb668pzm6l6mv")))) + (build-system python-build-system) + (arguments + ;; The tests are broken upstream. + '(#:tests? #f)) + (home-page + "https://code.launchpad.net/~tseaver/pkginfo/trunk") + (synopsis + "Query metadatdata from sdists / bdists / installed packages.") + (description + "API to query the distutils metadata written in the PKG-INFO file inside a +source distriubtion (an sdist) or a binary distribution (e.g., created by +running bdist_egg). It can also query the EGG-INFO directory of an installed +distribution, and the *.egg-info stored in a “development checkout” (e.g, +created by running setup.py develop).") + (license license:expat))) + +(define-public python2-pkginfo + (package-with-python2 python-pkginfo)) -- 2.14.1