summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-03-21 13:35:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-03-21 13:35:25 +0000
commita034d0a275764aa6f5e343d0f377c99fbfae60b6 (patch)
treeda5dfebb7efca004a45207230ab21267a1b9f602
parent- Update to 1.3.1 (diff)
- Update to 0.670
- Add testing support - Fix WWW PR: 236370 Approved by: flo@snakeoilproductions.net (maintainer)
Notes
Notes: svn path=/head/; revision=496455
-rw-r--r--devel/py-mypy/Makefile8
-rw-r--r--devel/py-mypy/distinfo6
-rw-r--r--devel/py-mypy/pkg-descr2
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/py-mypy/Makefile b/devel/py-mypy/Makefile
index 19951169c182..ef1e6984f319 100644
--- a/devel/py-mypy/Makefile
+++ b/devel/py-mypy/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mypy
-PORTVERSION= 0.641
-PORTREVISION= 1
+PORTVERSION= 0.670
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +14,7 @@ LICENSE= MIT PSFL
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typed-ast>=1.1.0:devel/py-typed-ast@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typed-ast>=1.3.1:devel/py-typed-ast@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=5.4.0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0:devel/py-mypy_extensions@${PY_FLAVOR}
@@ -31,4 +30,7 @@ SHEBANG_FILES= mypy/typeshed/tests/*.py
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=3.5.3:devel/py-typing@${PY_FLAVOR}
.endif
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
.include <bsd.port.post.mk>
diff --git a/devel/py-mypy/distinfo b/devel/py-mypy/distinfo
index 128fe2c103db..afecc9f29844 100644
--- a/devel/py-mypy/distinfo
+++ b/devel/py-mypy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541074292
-SHA256 (mypy-0.641.tar.gz) = 8e071ec32cc226e948a34bbb3d196eb0fd96f3ac69b6843a5aff9bd4efa14455
-SIZE (mypy-0.641.tar.gz) = 1607937
+TIMESTAMP = 1551888876
+SHA256 (mypy-0.670.tar.gz) = e80fd6af34614a0e898a57f14296d0dacb584648f0339c2e000ddbf0f4cc2f8d
+SIZE (mypy-0.670.tar.gz) = 1788537
diff --git a/devel/py-mypy/pkg-descr b/devel/py-mypy/pkg-descr
index cf065af945cd..e9efcaab5111 100644
--- a/devel/py-mypy/pkg-descr
+++ b/devel/py-mypy/pkg-descr
@@ -3,4 +3,4 @@ your Python programs using the standard for type annotations introduced in
Python 3.5 (PEP 484), and use mypy to type check them statically. Find bugs in
your programs without even running them!
-WWW: http://www.mypy-lang.org
+WWW: http://www.mypy-lang.org/