From nobody Sun Apr 10 10:49:46 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5F7BA1A9138E; Sun, 10 Apr 2022 10:49:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kbpf30pgpz4ZDp; Sun, 10 Apr 2022 10:49:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649587787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ES7fLicPSAth4TpD3z4HAkaHny1EBRlcoWHHPqq//IE=; b=q+vQqWB0h8T07PDjWrmSygvBUWZAXJAetuukqTEVCVjAW2xDlqiAIoAJkZO9T/qmKK6cvP yHRxd11zlEY3CWcim1e/RAYr3hLwFvRbrwrWRZjOZVgdjvb2kzs/JqwdGaxmAuMltpmnha ek7E6YosMBwJX1gAEwQE+LjQGHPZ+ySTRzdriLY62EoA7wat5mRTNg3dJWzoVzs3moFoTB vLO69NpDMesJmaQxrUInqVs1YluPVPIe+AIjGXULKmxMaczglv+nPeVMCCIud01jxjyq6q GwdJp8rrryxFYr9YT4hMXZqTiTwWr6vlJ4Km1ASXRl7ajVfW+cKe0tRQDhry2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E5E4E518C; Sun, 10 Apr 2022 10:49:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23AAnk9V042821; Sun, 10 Apr 2022 10:49:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23AAnk23042820; Sun, 10 Apr 2022 10:49:46 GMT (envelope-from git) Date: Sun, 10 Apr 2022 10:49:46 GMT Message-Id: <202204101049.23AAnk23042820@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kai Knoblich Subject: git: ef9355c20764 - 2022Q2 - textproc/py-pdfminer.six: Update to 20220319 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q2 X-Git-Reftype: branch X-Git-Commit: ef9355c20764727c6af07d8541192aea492c8fec Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649587787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ES7fLicPSAth4TpD3z4HAkaHny1EBRlcoWHHPqq//IE=; b=fdc/QpKCQOb9MGcFzOT9H6iUEFGWr03wkg8NEZu9LSSKVp5hW1fDO+Ehd3EGI/Vd5bvBEj RlVB7prNDIlFycz0iSzcylVb8bKNLqpX7hKRjbFPDOcTyVzcUDVATvDeIvGvsoz60BtP2v Htvgk+5NgVFhfLuH0x4/lFRikjTHT0SPXvqjFRYKVDYMIbRz/yfBK+c26t2YqbKZYg8Roa KyQ042EnP6jVZMeL2edoGutRVdHwBU6/mp5RwzsP2PVsGbxVaifMbtUVwc+x9eHt1hxogS /TLDu5hgTB8Izl5YLeRTFl6f3jp0UWOOucaZVc3o3BboZxQNcPY0RNYIx4BBHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649587787; a=rsa-sha256; cv=none; b=oP34vJaZqQZDidwwrxgkPHWhracslQNItWUpNBgUc5tJordRr0GI7aDdgmyoCm9pJToMWW E6HNXC0Azl8dvSkNJcoXx+ScAqakMW9o2tbhRFBCio0/GxoKc31hqyK3lKbU/uGTJ69btP CB9pyP+mVTrGfBbKk64C7+c2VBl6X4tgBV4uaK0ORVzjd4wS69W1d2+AHx8Uccknxhvnl/ Ux4Kx1Xik70htHTz8FKoIOynN5vZkKk3kBZQ451/pngT8eqmblwmLS1Y9L+4EsiYQniPUe 3341e+z5D6UScsdcR81kv/uUCvJNuXCFuhqi7/G4Aypi8qA3emxKl0XEo2we2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q2 has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9355c20764727c6af07d8541192aea492c8fec commit ef9355c20764727c6af07d8541192aea492c8fec Author: Kai Knoblich AuthorDate: 2022-04-10 10:42:24 +0000 Commit: Kai Knoblich CommitDate: 2022-04-10 10:49:03 +0000 textproc/py-pdfminer.six: Update to 20220319 Changelog: https://github.com/pdfminer/pdfminer.six/releases/tag/20220319 MFH: 2022Q2 (cherry picked from commit a93edf31dc0589c814cb4aa617be4f9db0a8999c) --- textproc/py-pdfminer.six/Makefile | 8 +++++++- textproc/py-pdfminer.six/distinfo | 6 +++--- textproc/py-pdfminer.six/files/patch-setup.py | 18 +++++++++--------- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/textproc/py-pdfminer.six/Makefile b/textproc/py-pdfminer.six/Makefile index b02e9037a241..be92bac9a2f7 100644 --- a/textproc/py-pdfminer.six/Makefile +++ b/textproc/py-pdfminer.six/Makefile @@ -1,5 +1,5 @@ PORTNAME= pdfminer.six -PORTVERSION= 20211012 +PORTVERSION= 20220319 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,6 +19,12 @@ USE_PYTHON= distutils concurrent autoplist CONFLICTS_INSTALL= py??-pdfminer py??-pdfminer3k NO_ARCH= yes +OPTIONS_DEFINE= IMAGE +OPTIONS_DEFAULT= IMAGE + +IMAGE_DESC= Enable support for image extraction +IMAGE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} + post-extract: @cd ${WRKSRC} && ${MV} tools/dumppdf.py tools/dumppdf @cd ${WRKSRC} && ${MV} tools/pdf2txt.py tools/pdf2txt diff --git a/textproc/py-pdfminer.six/distinfo b/textproc/py-pdfminer.six/distinfo index e5e589b680c4..486772a207cf 100644 --- a/textproc/py-pdfminer.six/distinfo +++ b/textproc/py-pdfminer.six/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645466224 -SHA256 (pdfminer.six-20211012.tar.gz) = 0351f17d362ee2d48b158be52bcde6576d96460efd038a3e89a043fba6d634d7 -SIZE (pdfminer.six-20211012.tar.gz) = 7350867 +TIMESTAMP = 1649529385 +SHA256 (pdfminer.six-20220319.tar.gz) = eff2ce0abeaa4df94dc3461f70eab104487c7b4a2b3c7e9fd0aeec6c5f44d6a6 +SIZE (pdfminer.six-20220319.tar.gz) = 7356602 diff --git a/textproc/py-pdfminer.six/files/patch-setup.py b/textproc/py-pdfminer.six/files/patch-setup.py index 4b9363d6cc9c..1113b979a382 100644 --- a/textproc/py-pdfminer.six/files/patch-setup.py +++ b/textproc/py-pdfminer.six/files/patch-setup.py @@ -2,16 +2,16 @@ Provide the console scripts without their ".py" extension. See also: https://github.com/pdfminer/pdfminer.six/issues/724 ---- setup.py.orig 2022-02-21 17:52:51 UTC +--- setup.py.orig 2022-03-19 20:13:07 UTC +++ setup.py -@@ -28,8 +28,8 @@ setup( - author_email='pdfminer@goulu.net', - url='https://github.com/pdfminer/pdfminer.six', +@@ -33,8 +33,8 @@ setup( + author_email="pdfminer@goulu.net", + url="https://github.com/pdfminer/pdfminer.six", scripts=[ -- 'tools/pdf2txt.py', -- 'tools/dumppdf.py', -+ 'tools/pdf2txt', -+ 'tools/dumppdf', +- "tools/pdf2txt.py", +- "tools/dumppdf.py", ++ "tools/pdf2txt", ++ "tools/dumppdf", ], keywords=[ - 'pdf parser', + "pdf parser",