Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2021 20:48:40 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: 84b52be8303a - main - devel/py-mypy: Update to 0.902
Message-ID:  <202106202048.15KKmeD9042493@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=84b52be8303a6dcb8e3a67ebc60c08fb259be65b

commit 84b52be8303a6dcb8e3a67ebc60c08fb259be65b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-06-20 20:46:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-06-20 20:46:09 +0000

    devel/py-mypy: Update to 0.902
    
    Changes:        https://github.com/python/mypy/commits/master
---
 devel/py-mypy/Makefile | 16 ++++++++++------
 devel/py-mypy/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index a667d8473ee9..c2554507b299 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.812
+PORTVERSION=	0.902
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,23 +13,27 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0.4.3<0.5.0:devel/py-mypy_extensions@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<1.5.0:devel/py-typed-ast@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		python:3.5+ shebangfix
+USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-SHEBANG_FILES=	mypy/typeshed/*/*.py
-
 OPTIONS_DEFINE=	DMYPY
 OPTIONS_DEFAULT=DMYPY
 DMYPY_DESC=	Daemon mode
 
 DMYPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=4.0:sysutils/py-psutil@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<1.5.0:devel/py-typed-ast@${PY_FLAVOR}
+.endif
+
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-mypy/distinfo b/devel/py-mypy/distinfo
index 4a2cf2c49d0f..1e0b51049d92 100644
--- a/devel/py-mypy/distinfo
+++ b/devel/py-mypy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614794284
-SHA256 (mypy-0.812.tar.gz) = cd07039aa5df222037005b08fbbfd69b3ab0b0bd7a07d7906de75ae52c4e3119
-SIZE (mypy-0.812.tar.gz) = 2645818
+TIMESTAMP = 1624189729
+SHA256 (mypy-0.902.tar.gz) = 9236c21194fde5df1b4d8ebc2ef2c1f2a5dc7f18bcbea54274937cae2e20a01c
+SIZE (mypy-0.902.tar.gz) = 2498901



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