git: 7739adfbf242 - main - textproc/py-charset-normalizer: Remove py-mypy from BUILD_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 31 Dec 2024 17:27:12 UTC
The branch main has been updated by sunpoet:

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

commit 7739adfbf242e0b21a4b50b2b3a1d3d69aebef6a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 17:27:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 17:27:03 +0000

    textproc/py-charset-normalizer: Remove py-mypy from BUILD_DEPENDS
    
    - Bump PORTREVISION for package change
---
 textproc/py-charset-normalizer/Makefile                   | 4 ++--
 textproc/py-charset-normalizer/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/textproc/py-charset-normalizer/Makefile b/textproc/py-charset-normalizer/Makefile
index 75e6711b939d..0c2cb6261944 100644
--- a/textproc/py-charset-normalizer/Makefile
+++ b/textproc/py-charset-normalizer/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	charset-normalizer
 PORTVERSION=	3.4.1
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI \
 		https://github.com/jawah/charset_normalizer/releases/download/${PORTVERSION}/
@@ -14,8 +15,7 @@ WWW=		https://charset-normalizer.readthedocs.io/en/latest/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy>=1.4.1<1.14.0_99:devel/py-mypy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
diff --git a/textproc/py-charset-normalizer/files/patch-pyproject.toml b/textproc/py-charset-normalizer/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2d5716505416
--- /dev/null
+++ b/textproc/py-charset-normalizer/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2024-12-24 16:22:27 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools", "setuptools-scm", "mypy>=1.4.1,<=1.14.0"]
++requires = ["setuptools", "setuptools-scm"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]