35 lines
787 B
Makefile
35 lines
787 B
Makefile
|
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>
|