Files
ports/devel/py-pytest-mypy/Makefile
T
Sunpoet Po-Chuan Hsieh 6d7e186dc1 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
2020-11-15 17:55:42 +00:00

28 lines
808 B
Makefile

# 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>