git: 96f907996b05 - main - textproc/py-pybtex: Update to 0.25.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 29 Jun 2025 11:49:57 UTC
The branch main has been updated by sunpoet:

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

commit 96f907996b052f98c4ce634d77579a9c303dc93c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-29 11:37:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-29 11:46:11 +0000

    textproc/py-pybtex: Update to 0.25.0
    
    Changes:        https://bitbucket.org/pybtex-devs/pybtex/src/master/CHANGES
                    https://docs.pybtex.org/history.html
---
 textproc/py-pybtex/Makefile             | 17 +++++++++++------
 textproc/py-pybtex/distinfo             |  6 +++---
 textproc/py-pybtex/files/patch-setup.py | 11 -----------
 3 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile
index 0a8909bd43b5..911ce31b78bc 100644
--- a/textproc/py-pybtex/Makefile
+++ b/textproc/py-pybtex/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pybtex
-PORTVERSION=	0.24.0
-PORTREVISION=	3
+PORTVERSION=	0.25.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,15 +12,21 @@ WWW=		https://pybtex.org/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>=3.01:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}latexcodec>=1.0.4:textproc/py-latexcodec@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyyaml>=3.01:devel/py-pyyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pyyaml>=3.01:devel/py-pyyaml@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-pybtex/distinfo b/textproc/py-pybtex/distinfo
index 749206dd23a3..8719f5f11a1e 100644
--- a/textproc/py-pybtex/distinfo
+++ b/textproc/py-pybtex/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628103018
-SHA256 (pybtex-0.24.0.tar.gz) = 818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755
-SIZE (pybtex-0.24.0.tar.gz) = 402879
+TIMESTAMP = 1750954244
+SHA256 (pybtex-0.25.0.tar.gz) = 10684ffb05af33b041b06dabe15868078fd75847b24e1dffd8dd91348bbb3a4b
+SIZE (pybtex-0.25.0.tar.gz) = 358178
diff --git a/textproc/py-pybtex/files/patch-setup.py b/textproc/py-pybtex/files/patch-setup.py
deleted file mode 100644
index 83eeab858264..000000000000
--- a/textproc/py-pybtex/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2021-01-17 19:26:34 UTC
-+++ setup.py
-@@ -92,7 +92,7 @@ setup(
-     install_requires=install_requires,
-     extras_require=extras_require,
-     python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
--    packages=find_packages(exclude=['docs']),
-+    packages=find_packages(exclude=['docs', 'tests*']),
-     include_package_data=True,
-     cmdclass={'sdist': Sdist},
-     entry_points={