git: db13691a1d22 - main - devel/py-mypy: Update to 0.950

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 16:03:15 UTC
The branch main has been updated by sunpoet:

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

commit db13691a1d22f86bdefe59bea928f4ef40215d26
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-30 15:58:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-30 15:58:11 +0000

    devel/py-mypy: Update to 0.950
    
    Changes:        https://github.com/python/mypy/commits/master
---
 devel/py-mypy/Makefile | 7 +++++--
 devel/py-mypy/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index 30f87e646c0b..bd9604429607 100644
--- a/devel/py-mypy/Makefile
+++ b/devel/py-mypy/Makefile
@@ -1,7 +1,7 @@
 # Created by: Florian Limberger <flo@snakeoilproductions.net>
 
 PORTNAME=	mypy
-PORTVERSION=	0.942
+PORTVERSION=	0.950
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4.3:devel/py-mypy_extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
@@ -37,4 +36,8 @@ DMYPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=4.0:sysutils/py-psutil@${PY_FL
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<2:devel/py-typed-ast@${PY_FLAVOR}
 .endif
 
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-mypy/distinfo b/devel/py-mypy/distinfo
index ebf1870967cd..045381baad75 100644
--- a/devel/py-mypy/distinfo
+++ b/devel/py-mypy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650970117
-SHA256 (mypy-0.942.tar.gz) = 17e44649fec92e9f82102b48a3bf7b4a5510ad0cd22fa21a104826b5db4903e2
-SIZE (mypy-0.942.tar.gz) = 2651177
+TIMESTAMP = 1651316629
+SHA256 (mypy-0.950.tar.gz) = 1b333cfbca1762ff15808a0ef4f71b5d3eed8528b23ea1c3fb50543c867d68de
+SIZE (mypy-0.950.tar.gz) = 2695414