From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 2/3] gnu: Add python-pypdf. Date: Tue, 8 Nov 2016 22:37:01 +0100 Message-ID: <1478641022-30723-2-git-send-email-h.goebel@crazy-compilers.com> References: <1478641022-30723-1-git-send-email-h.goebel@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4E4r-0001o5-3J for guix-devel@gnu.org; Tue, 08 Nov 2016 16:37:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4E4p-00059r-Dj for guix-devel@gnu.org; Tue, 08 Nov 2016 16:37:09 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:34519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4E4p-00059c-6j for guix-devel@gnu.org; Tue, 08 Nov 2016 16:37:07 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tD2hK5dF0z3hjcB for ; Tue, 8 Nov 2016 22:37:05 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tD2hK3wM4zvkx7 for ; Tue, 8 Nov 2016 22:37:05 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id BKPosLw5GLTM for ; Tue, 8 Nov 2016 22:37:04 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-133-41.dynamic.mnet-online.de [188.174.133.41]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 8 Nov 2016 22:37:04 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 3C50260DC2 for ; Tue, 8 Nov 2016 22:37:02 +0100 (CET) In-Reply-To: <1478641022-30723-1-git-send-email-h.goebel@crazy-compilers.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/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.") =20 (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/sour= ce/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 c= apable +of: + +@itemize +@item extracting document information (title, author, =E2=80=A6) +@item splitting documents page by page +@item merging documents page by page +@item cropping pages +@item merging multiple pages into a single page +@item encrypting and decrypting PDF files +@item and more! +@end itemize + +Note: This module isn't maintained anymore. For new projects please use +python-pypdf2 instead.") + (license license:bsd-3))) --=20 2.7.4