[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] gnu: Add python-pypdf.
From: |
Hartmut Goebel |
Subject: |
[PATCH 2/3] gnu: Add python-pypdf. |
Date: |
Tue, 8 Nov 2016 22:37:01 +0100 |
* gnu/packages/pdf.scm(python2-pypdf): New variable.
---
gnu/packages/pdf.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 558ea89..ca3f830 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -821,3 +821,37 @@ is therefore a useful tool for websites that manage or
manipulate PDFs.")
(define-public python2-pypdf2
(package-with-python2 python-pypdf2))
+
+(define-public python2-pypdf
+ (package
+ (name "python2-pypdf")
+ (version "1.13")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/p"
+ "/pyPdf/pyPdf-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fqfvamir7k41w84c73rghzkiv891gdr17q5iz4hgbf6r71y9v9s"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:python ,python-2))
+ (home-page "http://mstamy2.github.com/PyPDF2")
+ (synopsis "Pure-Python PDF toolkit")
+ (description "A Pure-Python library built as a PDF toolkit. It is capable
+of:
+
address@hidden
address@hidden extracting document information (title, author, …)
address@hidden splitting documents page by page
address@hidden merging documents page by page
address@hidden cropping pages
address@hidden merging multiple pages into a single page
address@hidden encrypting and decrypting PDF files
address@hidden and more!
address@hidden itemize
+
+Note: This module isn't maintained anymore. For new projects please use
+python-pypdf2 instead.")
+ (license license:bsd-3)))
--
2.7.4