ports/devel/py-mypy/Makefile

35 lines
787 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= optional static type checker for Python
# additional deps needed for 0.980+:
# "types-psutil", "types-setuptools", "types-typed-ast"
MODPY_EGG_VERSION= 0.971
REVISION= 0
DISTNAME= mypy-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel
# https://github.com/python/mypy
HOMEPAGE= https://www.mypy-lang.org/
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
TEST_DEPENDS= devel/py-test-xdist${MODPY_FLAVOR}
# additional deps
#MODPY_PYTEST_ARGS= --ignore tests/providers/test_internet.py \
# --ignore tests/providers/test_ssn.py
RUN_DEPENDS= devel/py-typing-extensions${MODPY_FLAVOR} \
devel/py-mypy-extensions${MODPY_FLAVOR} \
textproc/py-tomli${MODPY_FLAVOR}
FLAVORS= python3
FLAVOR= python3
.include <bsd.port.mk>