From: Z572 <873216071@qq.com>
To: 45232@debbugs.gnu.org
Subject: [bug#45232] [PATCH] gnu: Add python-pdftotext.
Date: Mon, 14 Dec 2020 11:34:41 +0800 [thread overview]
Message-ID: <tencent_D8AC89BF411DA6F28E92935AFBCD8D54C407@qq.com> (raw)
Message-ID: <875z55qcvi.fsf@qq.com> (raw)
[-- Attachment #1: python-pdftotext.patch --]
[-- Type: text/x-patch, Size: 1290 bytes --]
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index a06f351aae..817c6a27c8 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -309,6 +310,25 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.")
Poppler PDF rendering library.")
(license license:lgpl2.1+)))
+(define python-pdftotext
+ (package
+ (name "python-pdftotext")
+ (version "2.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pdftotext" version))
+ (sha256
+ (base32
+ "19la1cw1hmkcr8big04gm2dd5fw0y0z97g930aiy29s1gaqbiblq"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("poppler" ,poppler)))
+ (home-page "https://github.com/jalan/pdftotext")
+ (synopsis "Simple PDF text extraction")
+ (description "Simple PDF text extraction")
+ (license license:expat)))
+
(define-public libharu
(package
(name "libharu")
next reply other threads:[~2020-12-14 6:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 3:34 Z572 [this message]
2020-12-14 3:34 ` [bug#45232] [PATCH] gnu: Add python-pdftotext Z572
2020-12-21 9:07 ` Efraim Flashner
2020-12-31 16:22 ` Z572
2020-12-31 16:22 ` Z572
2021-01-02 18:43 ` bug#45232: " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_D8AC89BF411DA6F28E92935AFBCD8D54C407@qq.com \
--to=873216071@qq.com \
--cc=45232@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.