gnu: Add python2-pypdf.

* gnu/packages/pdf.scm (python2-pypdf): New variable.
This commit is contained in:
Hartmut Goebel 2016-11-10 14:25:06 +01:00
parent ad5a7d49c3
commit c68e8591d8
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 22 additions and 0 deletions

View File

@ -833,3 +833,25 @@ manage or manipulate PDFs.")
(define-public python2-pypdf2 (define-public python2-pypdf2
(package-with-python2 python-pypdf2)) (package-with-python2 python-pypdf2))
(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 "PyPDF2 is a pure Python PDF toolkit.
Note: This module isn't maintained anymore. For new projects please use
python-pypdf2 instead.")
(license license:bsd-3)))