guix-devel
[Top][All Lists]
Advanced

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

[Patch v2 2/3] gnu: Add python-pypdf.


From: Hartmut Goebel
Subject: [Patch v2 2/3] gnu: Add python-pypdf.
Date: Wed, 9 Nov 2016 23:39:12 +0100

* gnu/packages/pdf.scm(python2-pypdf): New variable.
---
 gnu/packages/pdf.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index e243006..e0279c6 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -829,3 +829,25 @@ is therefore a useful tool for websites that manage or 
manipulate PDFs.")
          (replace 'check
            (lambda _
              (zero? (system* "python" "-m" "unittest" "Tests.tests")))))))))
+
+(define-public python2-pypdf
+  (package
+    (name "python2-pypdf")
+    (version "1.13")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pyPdf" version))
+              (sha256
+               (base32
+                "0fqfvamir7k41w84c73rghzkiv891gdr17q5iz4hgbf6r71y9v9s"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f  ; no tests
+       #:python ,python-2))
+    (home-page "http://pybrary.net/pyPdf/";)
+    (synopsis "Pure Python PDF toolkit")
+    (description "A pure Python library built as a PDF toolkit.
+
+Note: This module isn't maintained anymore.  For new projects please use
+python-pypdf2 instead.")
+    (license license:bsd-3)))
-- 
2.7.4




reply via email to

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