guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/11] gnu: Add python-pkginfo.


From: Cyril Roelandt
Subject: [PATCH 10/11] gnu: Add python-pkginfo.
Date: Mon, 11 Sep 2017 20:22:41 +0200

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]