git: 7187986e01e8 - main - devel/py-mypy: Update to 1.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:18:52 UTC
The branch main has been updated by sunpoet:

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

commit 7187986e01e8185f26fdc081e272b6bac40ac775
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:39:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:15:44 +0000

    devel/py-mypy: Update to 1.7.0
    
    - Add MYPYC option
    
    Changes:        https://github.com/python/mypy/blob/master/CHANGELOG.md
                    https://github.com/python/mypy/commits/master
                    https://mypy-lang.org/news.html
---
 devel/py-mypy/Makefile | 8 +++++---
 devel/py-mypy/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index f81cc0378e46..b02a1775cbcc 100644
--- a/devel/py-mypy/Makefile
+++ b/devel/py-mypy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mypy
-PORTVERSION=	1.6.1
+PORTVERSION=	1.7.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -37,12 +37,14 @@ USE_PYTHON=	autoplist concurrent pep517 pytest
 NO_ARCH=	yes
 PYTEST_BROKEN_TESTS=	test_c_unit_test	# https://github.com/python/mypy/issues/12634
 
-OPTIONS_DEFINE=	DMYPY REPORTS
-OPTIONS_DEFAULT=DMYPY REPORTS
+OPTIONS_DEFINE=	DMYPY MYPYC REPORTS
+OPTIONS_DEFAULT=DMYPY MYPYC REPORTS
 DMYPY_DESC=	Daemon mode
+MYPYC_DESC=	Mypypc support
 REPORTS_DESC=	Coverage reports
 
 DMYPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=4.0:sysutils/py-psutil@${PY_FLAVOR}
+MYPYC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=50:devel/py-setuptools@${PY_FLAVOR}
 REPORTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
diff --git a/devel/py-mypy/distinfo b/devel/py-mypy/distinfo
index 1f1dc0ce75e3..e7a79d0f3971 100644
--- a/devel/py-mypy/distinfo
+++ b/devel/py-mypy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698341021
-SHA256 (mypy-1.6.1.tar.gz) = 4d01c00d09a0be62a4ca3f933e315455bde83f37f892ba4b08ce92f3cf44bcc1
-SIZE (mypy-1.6.1.tar.gz) = 2919965
+TIMESTAMP = 1699774554
+SHA256 (mypy-1.7.0.tar.gz) = 1e280b5697202efa698372d2f39e9a6713a0395a756b1c6bd48995f8d72690dc
+SIZE (mypy-1.7.0.tar.gz) = 2976850