From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8MxgBf367V+nNAAA0tVLHw (envelope-from ) for ; Thu, 31 Dec 2020 16:23:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4Dr4AP367V/IVgAAB5/wlQ (envelope-from ) for ; Thu, 31 Dec 2020 16:23:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AEF5940149 for ; Thu, 31 Dec 2020 16:23:24 +0000 (UTC) Received: from localhost ([::1]:46042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kv0jT-0001F4-39 for larch@yhetil.org; Thu, 31 Dec 2020 11:23:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kv0jB-0001Eo-Sc for guix-patches@gnu.org; Thu, 31 Dec 2020 11:23:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kv0j8-0003C7-B0 for guix-patches@gnu.org; Thu, 31 Dec 2020 11:23:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kv0j8-0001lj-5z for guix-patches@gnu.org; Thu, 31 Dec 2020 11:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45232] [PATCH] gnu: Add python-pdftotext. Resent-From: Z572 <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Dec 2020 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Received: via spool by 45232-submit@debbugs.gnu.org id=B45232.16094317506752 (code B ref 45232); Thu, 31 Dec 2020 16:23:02 +0000 Received: (at 45232) by debbugs.gnu.org; 31 Dec 2020 16:22:30 +0000 Received: from localhost ([127.0.0.1]:41440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kv0ib-0001kp-UI for submit@debbugs.gnu.org; Thu, 31 Dec 2020 11:22:30 -0500 Received: from out203-205-251-27.mail.qq.com ([203.205.251.27]:37098 helo=qq.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1kv0iU-0001kO-W2 for 45232@debbugs.gnu.org; Thu, 31 Dec 2020 11:22:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1609431730; bh=4mDKkeliVbIzCegqHke6S97tDFMjrpgU3J/I+f3XcrI=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=XEs2ABRvL7ycTgfA1vU0YKXzYXCDlO57ebCe7Q0s+LRPWKKuDFjXw9+F2eUxeHD5V Jz8+4jhpccdpHTFg3+ioFpsyXcngt3mmRa6fZF5LQbLYOJT5nw6FHcIfbQSZA6xb0Q 8I3JsQ2xxFmJLPXq1gMyDyjdUT0WykYPf8ymr0XE= Received: from Z572 ([39.183.0.99]) by newxmesmtplogicsvrsza8.qq.com (NewEsmtp) with SMTP id 5860DA39; Fri, 01 Jan 2021 00:22:06 +0800 X-QQ-mid: xmsmtpt1609431726t4cdmrsrk Message-ID: X-QQ-XMAILINFO: OSHVuk7uaqqGqTdYo15T46VWCh++d/kAGGbgKnKBp1s4JSud/6/HL+SuwAzlA6 eJC8tX+8vR/xd+mxN9lrUoCph2Eh8mP476sK/4rxwqpbdtWPovEjOJt95U4tFX8UigdxJr/8gCC2 W00Do3tJchDs66/QPD0mYTWvdxnQtPv8PivHVxFTCGMJ2Rvj3EpcHAkqrqZ2szKIZIAVz3tFWrVT QQjWG49z2bITg/IQuM5phwplhzb37aL2rXB+lgO5ZhuSRMAnKYb/pPiVpGr+GdFAuSoaOEGfmFhq 7fiwavzF4uL1UK15XJCUGgr/cOcR5uPmpPxQqyeIDBV0iW0m1ZR7xa8wARPKoo/9MTMXazzpStz8 thLuJ0mfMBUMO4IYpRqUwPpnhaOm+XC6G8vEyQKVpbUIiGWwK1oBs7reZcA79jkj/VPZhEfA5kSB JsEnoOBmKFZOXNdpodoCQUSrjrM6Ql9sfPim1e6sXJrJsnpMdPchyo7kAbAUhQSGO/618T1wzcQ4 H+pxe73qIhdwDzi9OGWh38sIjtj77Hifyzi60lC5IhTw07yzMjU15pPC5ycy52Liqf2XwvcLCAnU pBiaTbrvkE/o1EE8X7L/zfYDGT2Yvfdz1OGnO5SqFDEojwpbrAG+7Ag3U0gUVmokVH6SVc9eFlBn 0H1hTjsEOT/ygSNhwK4TWzZVD7QcbN1/UQiqNkEVlcbbFR/BTy9ZHnsUSxbIO/iX0UHnPjH6qM13 fnWLpkeAHZBbp8MSpOTo6NvdzRMB5R5oSL33hHB8kXjRlU0sLUj6QU7Xd1sdPP9LPbkSojCu/RqN M= From: Z572 <873216071@qq.com> References: <875z55qcvi.fsf@qq.com> Date: Fri, 01 Jan 2021 00:22:05 +0800 In-Reply-To: (Efraim Flashner's message of "Mon, 21 Dec 2020 11:07:45 +0200") Message-ID: <87v9cihro2.fsf_-_@qq.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45232@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=qq.com header.s=s201512 header.b=XEs2ABRv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=qq.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4AEF5940149 X-Spam-Score: 3.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: s2xgbWJdmoAC --=-=-= Content-Type: text/plain Sorry, I missed this email. This is a new patch. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-python-pdftotext.patch Content-Transfer-Encoding: quoted-printable >From cd5bd94991327a12715431e75e0c19f68ad48183 Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Fri, 25 Dec 2020 13:56:16 +0800 Subject: [PATCH] gnu: Add python-pdftotext. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index acde5a5e5e..9d9c298076 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -93,6 +93,7 @@ ;;; Copyright =C2=A9 2020 Diego N. Barbato ;;; Copyright =C2=A9 2020 Leo Prikler ;;; Copyright =C2=A9 2019 Kristian Trandem +;;; Copyright =C2=A9 2020 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -158,6 +159,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages openstack) #:use-module (gnu packages pcre) + #:use-module (gnu packages pdf) #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) @@ -4861,6 +4863,25 @@ algorithm. Patiencediff provides a good balance of = performance, nice output for humans, and implementation simplicity.") (license license:gpl2))) =20 +(define-public 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) + (inputs + `(("poppler" ,poppler))) + (home-page "https://github.com/jalan/pdftotext") + (synopsis "Simple PDF text extraction") + (description "Pdftotext is a Python library of PDF text extraction.") + (license license:expat))) + (define-public python-pyparsing (package (name "python-pyparsing") --=20 2.29.2 --=-=-=--