git: ef9355c20764 - 2022Q2 - textproc/py-pdfminer.six: Update to 20220319
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Apr 2022 10:49:46 UTC
The branch 2022Q2 has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9355c20764727c6af07d8541192aea492c8fec commit ef9355c20764727c6af07d8541192aea492c8fec Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-04-10 10:42:24 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> 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",