Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 16:01:38 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e6b21038784 - main - devel/py-mypy: Update to 1.14.0
Message-ID:  <202412311601.4BVG1cZv085323@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 4e6b21038784e12b25661914fd998c6e02cf2682
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 15:48:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 15:48:48 +0000

    devel/py-mypy: Update to 1.14.0
    
    - Add INSTALL_TYPES option
    
    Changes:        https://github.com/python/mypy/blob/master/CHANGELOG.md
                    https://mypy-lang.org/news.html
---
 devel/py-mypy/Makefile                   | 13 +++++++------
 devel/py-mypy/distinfo                   |  6 +++---
 devel/py-mypy/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index c58b32dd0858..9d254203fa38 100644
--- a/devel/py-mypy/Makefile
+++ b/devel/py-mypy/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mypy
-PORTVERSION=	1.13.0
-PORTREVISION=	1
+PORTVERSION=	1.14.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=1.0.0:devel/py-mypy_extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.2:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PY_TOMLI} \
 		${PYTHON_PKGNAMEPREFIX}types-psutil>=0:devel/py-types-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}types-setuptools>=0:devel/py-types-setuptools@${PY_FLAVOR} \
@@ -22,7 +21,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=1.0.0:devel/py-mypy_exten
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.30.0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=1.0.0:devel/py-mypy_extensions@${PY_FLAVOR} \
 		${PY_TOMLI} \
-		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=18.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}filelock>=3.3.0:sysutils/py-filelock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6.1<5.0.0:devel/py-importlib-metadata@${PY_FLAVOR} \
@@ -40,15 +39,17 @@ 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 FASTER_CACHE MYPYC REPORTS
-OPTIONS_DEFAULT=DMYPY FASTER_CACHE MYPYC REPORTS
+OPTIONS_DEFINE=	DMYPY FASTER_CACHE INSTALL_TYPES MYPYC REPORTS
+OPTIONS_DEFAULT=DMYPY FASTER_CACHE INSTALL_TYPES MYPYC REPORTS
 DMYPY_DESC=	Daemon mode
 FASTER_CACHE_DESC=	Faster cache support
+INSTALL_TYPES_DESC=	Install support
 MYPYC_DESC=	Mypypc support
 REPORTS_DESC=	Coverage reports
 
 DMYPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=4.0:sysutils/py-psutil@${PY_FLAVOR}
 FASTER_CACHE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orjson>=0:devel/py-orjson@${PY_FLAVOR}
+INSTALL_TYPES_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${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}
 
diff --git a/devel/py-mypy/distinfo b/devel/py-mypy/distinfo
index adf577bc37e3..216152a969ea 100644
--- a/devel/py-mypy/distinfo
+++ b/devel/py-mypy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729926993
-SHA256 (mypy-1.13.0.tar.gz) = 0291a61b6fbf3e6673e3405cfcc0e7650bebc7939659fdca2702958038bd835e
-SIZE (mypy-1.13.0.tar.gz) = 3152532
+TIMESTAMP = 1735227890
+SHA256 (mypy-1.14.0.tar.gz) = 822dbd184d4a9804df5a7d5335a68cf7662930e70b8c1bc976645d1509f9a9d6
+SIZE (mypy-1.14.0.tar.gz) = 3215684
diff --git a/devel/py-mypy/files/patch-pyproject.toml b/devel/py-mypy/files/patch-pyproject.toml
new file mode 100644
index 000000000000..863d809e2359
--- /dev/null
+++ b/devel/py-mypy/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-12-19 16:38:55 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ requires = [
+     # NOTE: this needs to be kept in sync with mypy-requirements.txt
+     # and build-requirements.txt, because those are both needed for
+     # self-typechecking :/
+-    "setuptools >= 75.1.0",
++    "setuptools >= 61",
+     # the following is from mypy-requirements.txt/setup.py
+     "typing_extensions>=4.6.0",
+     "mypy_extensions>=1.0.0",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311601.4BVG1cZv085323>