git: b868d9c8602f - main - textproc/py-pdftotext: Update to 3.0.0

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Tue, 28 Jan 2025 11:02:10 UTC
The branch main has been updated by grembo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b868d9c8602f7f7032cbdf4f1c72146d52085267

commit b868d9c8602f7f7032cbdf4f1c72146d52085267
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2025-01-28 11:01:11 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-01-28 11:01:48 +0000

    textproc/py-pdftotext: Update to 3.0.0
---
 textproc/py-pdftotext/Makefile | 9 ++++++---
 textproc/py-pdftotext/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/textproc/py-pdftotext/Makefile b/textproc/py-pdftotext/Makefile
index 3eef0e9fc43c..2906e9d75543 100644
--- a/textproc/py-pdftotext/Makefile
+++ b/textproc/py-pdftotext/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pdftotext
-PORTVERSION=	2.2.2
-PORTREVISION=	15
+PORTVERSION=	3.0.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,15 @@ WWW=		https://github.com/jalan/pdftotext
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libpoppler.so:graphics/poppler
+LIB_DEPENDS=	libpoppler-cpp.so:graphics/poppler
 
 USES=		compiler:c11 python
 USE_PYTHON=	autoplist distutils
 
+post-install:
+	@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' \
+	  -exec ${STRIP_CMD} {} +
+
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
diff --git a/textproc/py-pdftotext/distinfo b/textproc/py-pdftotext/distinfo
index 6ac54f75d88c..e94a1b48a3d8 100644
--- a/textproc/py-pdftotext/distinfo
+++ b/textproc/py-pdftotext/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642261427
-SHA256 (pdftotext-2.2.2.tar.gz) = 2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee
-SIZE (pdftotext-2.2.2.tar.gz) = 113899
+TIMESTAMP = 1738060371
+SHA256 (pdftotext-3.0.0.tar.gz) = c3652b19154e145515a8bfa953fc6136338ed92337bdccbb53fe0d88013b1aaa
+SIZE (pdftotext-3.0.0.tar.gz) = 113565