Date: Sun, 15 Nov 2020 17:55:43 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555249 - in head/devel: . py-pytest-mypy Message-ID: <202011151755.0AFHthHN002936@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Nov 15 17:55:42 2020 New Revision: 555249 URL: https://svnweb.freebsd.org/changeset/ports/555249 Log: Add py-pytest-mypy 0.8.0 pytest-mypy provides mypy static type checker plugin for pytest. Features: - Runs the mypy static type checker on your source files as part of your pytest test runs. - Does for mypy what the pytest-flake8 plugin does for flake8. WWW: https://github.com/dbader/pytest-mypy Added: head/devel/py-pytest-mypy/ head/devel/py-pytest-mypy/Makefile (contents, props changed) head/devel/py-pytest-mypy/distinfo (contents, props changed) head/devel/py-pytest-mypy/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Nov 15 17:55:37 2020 (r555248) +++ head/devel/Makefile Sun Nov 15 17:55:42 2020 (r555249) @@ -4930,6 +4930,7 @@ SUBDIR += py-pytest-localserver SUBDIR += py-pytest-mock SUBDIR += py-pytest-mutagen + SUBDIR += py-pytest-mypy SUBDIR += py-pytest-pep8 SUBDIR += py-pytest-pycodestyle SUBDIR += py-pytest-randomly Added: head/devel/py-pytest-mypy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-mypy/Makefile Sun Nov 15 17:55:42 2020 (r555249) @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= pytest-mypy +PORTVERSION= 0.8.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Mypy static type checker plugin for pytest + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filelock>=3.0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=0.780:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=3.5:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +#NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-pytest-mypy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-mypy/distinfo Sun Nov 15 17:55:42 2020 (r555249) @@ -0,0 +1,3 @@ +TIMESTAMP = 1605426315 +SHA256 (pytest-mypy-0.8.0.tar.gz) = 63d418a4fea7d598ac40b659723c00804d16a251d90a5cfbca213eeba5aaf01c +SIZE (pytest-mypy-0.8.0.tar.gz) = 13296 Added: head/devel/py-pytest-mypy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-mypy/pkg-descr Sun Nov 15 17:55:42 2020 (r555249) @@ -0,0 +1,8 @@ +pytest-mypy provides mypy static type checker plugin for pytest. + +Features: +- Runs the mypy static type checker on your source files as part of your pytest + test runs. +- Does for mypy what the pytest-flake8 plugin does for flake8. + +WWW: https://github.com/dbader/pytest-mypy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011151755.0AFHthHN002936>