From nobody Mon Mar 21 16:45:06 2022 X-Original-To: dev-commits-ports-main@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 22D901A28AE0; Mon, 21 Mar 2022 16:45:07 +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 4KMgTH0QVLz59SN; Mon, 21 Mar 2022 16:45:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647881107; 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=FNctCSt/OopgEWfLJeekG7M+hEOBcArUV738OYYmKh0=; b=FQPhu68heJqp+E4TCOjyY2ghcil8qsrGwqZp0m4YtMF6VslSA+PAqR5G9yjqqpo+fHyFyD amz7ZMEScrPNhm98L0BXAOaDuoT/WC26Bb9wtvOmdpiY8H109FaHPs9b8gNLcfWiNq4E+m iGHDlxFGy+EtiNh86otQ6O4mB95PTgabt+vKBG5O6LBEWk/G3nhvrCXMIwy4DxPUccYpEy ESjpM7Thz/A0Fesj9ZpNA0nOOBEn42Seq+3BBEDOakSHahcX2D8orGUR5l9RP60pHgcsJS nFTYIFj8VGjTKT6wTAjeSw6Sc59CstmKTsNEe6XwCks4SRbZNNvNY9TfHQ3HHg== 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 DE7981EF84; Mon, 21 Mar 2022 16:45:06 +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 22LGj6dO084518; Mon, 21 Mar 2022 16:45:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22LGj6iQ084517; Mon, 21 Mar 2022 16:45:06 GMT (envelope-from git) Date: Mon, 21 Mar 2022 16:45:06 GMT Message-Id: <202203211645.22LGj6iQ084517@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 819355687fcc - main - textproc/py-pdfminer.six: Update to 20211012 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 819355687fccbd95f5d4698e9aa43d0599a18d66 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647881107; 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=FNctCSt/OopgEWfLJeekG7M+hEOBcArUV738OYYmKh0=; b=IoVTP45hdp0r0mJeYQ+mAJK/vUe4gQljBPoCqajzUVe6+TwGe9fp7b6C3pEGTuejeGcI7E BIkc5wWNFAxP7Pau1PJ2ankkUW0IUNsMc74f3F5SLtixlpzVLxxoomxBGbCZvrGV0DSUeC 6iAfFR/PrxGMPzmQXQy9crMYEaDZN6g1hgRI/pJOd3YCyWxTS6R4MBwCwquF8EXyS9JwPd l6pmv5Yi4/3PU+OIgqpVpuxHfqt4NaXPCQCWJGYyeO/3qqJM8LZrk/kKFl9csepIcOagyY nIXMjjiUutJ5vj6BHS3+6wBNl/ecCXxZhdIuzEZ7O4h1Kr+qbWMgdaDNbfBcLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647881107; a=rsa-sha256; cv=none; b=E3u4xP5ysfLzxlN4j5e1ytmVYdw/yairOvZplQBjbnJ65mhe2i0NyNnXlb6X1HUs7sHTyj ttD/ALxiVekxypSvuWEYRW032RN3/hw4cbdk5n5T2DkAIF6JpCxWhJYct0cEumbxfvKRWu ibbnypftalwI7T/74IOJgKPG/ya0GY35iLaUK/smAfvKUUwkSXyaUiY/gGHPZHNRe0WIz5 7dJl62m0modP2haWVkpvzhHm+nnRp9k23CmObnQNDtnMbwQY1eiDVOELojXoSsD2DMVab6 f+Xk6Tdxy7A4hP+n2XFqOv2nfTVd9kkjdM6qCiW90qf4Kgqfc1lngVYCRtAj1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=819355687fccbd95f5d4698e9aa43d0599a18d66 commit 819355687fccbd95f5d4698e9aa43d0599a18d66 Author: Kai Knoblich AuthorDate: 2022-03-21 16:40:31 +0000 Commit: Kai Knoblich CommitDate: 2022-03-21 16:40:31 +0000 textproc/py-pdfminer.six: Update to 20211012 * Switch back to PyPI as the sdist is there available again. * Remove the test suite as it makes only sense for upstream testing in its current condition and therefore isn't supplied with the sdist. * Update pkg-descr to match reality. Changelog: https://github.com/pdfminer/pdfminer.six/blob/develop/CHANGELOG.md#20211012 PR: 262101 Reported by: rsmith@xs4all.nl --- textproc/py-pdfminer.six/Makefile | 16 +++++++--------- textproc/py-pdfminer.six/distinfo | 6 +++--- textproc/py-pdfminer.six/files/patch-setup.py | 17 +++++++++++++++++ textproc/py-pdfminer.six/pkg-descr | 16 +++++++++------- 4 files changed, 36 insertions(+), 19 deletions(-) diff --git a/textproc/py-pdfminer.six/Makefile b/textproc/py-pdfminer.six/Makefile index 70b62e2e9c42..b02e9037a241 100644 --- a/textproc/py-pdfminer.six/Makefile +++ b/textproc/py-pdfminer.six/Makefile @@ -1,6 +1,7 @@ PORTNAME= pdfminer.six -PORTVERSION= 20201018 +PORTVERSION= 20211012 CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org @@ -10,19 +11,16 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} -USES= python:3.4+ -USE_GITHUB= yes -GH_ACCOUNT= pdfminer +USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist CONFLICTS_INSTALL= py??-pdfminer py??-pdfminer3k NO_ARCH= yes -do-test: - @(cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v --nologcapture) +post-extract: + @cd ${WRKSRC} && ${MV} tools/dumppdf.py tools/dumppdf + @cd ${WRKSRC} && ${MV} tools/pdf2txt.py tools/pdf2txt .include diff --git a/textproc/py-pdfminer.six/distinfo b/textproc/py-pdfminer.six/distinfo index c5551eaef114..e5e589b680c4 100644 --- a/textproc/py-pdfminer.six/distinfo +++ b/textproc/py-pdfminer.six/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1605973188 -SHA256 (pdfminer-pdfminer.six-20201018_GH0.tar.gz) = 0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38 -SIZE (pdfminer-pdfminer.six-20201018_GH0.tar.gz) = 10256409 +TIMESTAMP = 1645466224 +SHA256 (pdfminer.six-20211012.tar.gz) = 0351f17d362ee2d48b158be52bcde6576d96460efd038a3e89a043fba6d634d7 +SIZE (pdfminer.six-20211012.tar.gz) = 7350867 diff --git a/textproc/py-pdfminer.six/files/patch-setup.py b/textproc/py-pdfminer.six/files/patch-setup.py new file mode 100644 index 000000000000..4b9363d6cc9c --- /dev/null +++ b/textproc/py-pdfminer.six/files/patch-setup.py @@ -0,0 +1,17 @@ +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 +@@ -28,8 +28,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', + ], + keywords=[ + 'pdf parser', diff --git a/textproc/py-pdfminer.six/pkg-descr b/textproc/py-pdfminer.six/pkg-descr index 5061956d85d0..ef9523a4d318 100644 --- a/textproc/py-pdfminer.six/pkg-descr +++ b/textproc/py-pdfminer.six/pkg-descr @@ -1,12 +1,14 @@ -PDFMiner.six is a fork of PDFMiner using six for Python 2 + 3 compatibility. +We fathom PDF -PDFMiner is a tool for extracting information from PDF documents. Unlike other -PDF-related tools, it focuses entirely on getting and analyzing text data. +Pdfminer.six is a community maintained fork of the original PDFMiner. It is a +tool for extracting information from PDF documents. It focuses on getting and +analyzing text data. Pdfminer.six extracts the text from a page directly from +the sourcecode of the PDF. It can also be used to get the exact location, font +or color of the text. -PDFMiner allows one to obtain the exact location of text in a page, as well as -other information such as fonts or lines. It includes a PDF converter that can -transform PDF files into other text formats (such as HTML). It has an extensible -PDF parser that can be used for other purposes than text analysis. +It is built in a modular way such that each component of pdfminer.six can be +replaced easily. You can implement your own interpreter or rendering device +that uses the power of pdfminer.six for other purposes than text analysis. Features: