pkgsrc/lang/py-mypy/Makefile
adam ce87b43729 py-mypy: updated to 0.650
Mypy 0.650
This release includes new features, bug fixes and library stub (typeshed) updates.
2018-12-09 20:37:29 +00:00

35 lines
987 B
Makefile

# $NetBSD: Makefile,v 1.3 2018/12/09 20:37:29 adam Exp $
DISTNAME= mypy-0.650
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mypy/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mypy-lang.org/
COMMENT= Optional static typing for Python
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-typed-ast>=1.1.0:../../devel/py-typed-ast
DEPENDS+= ${PYPKGPREFIX}-mypy_extensions>=0.4.0:../../lang/py-mypy_extensions
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 34
DEPENDS+= ${PYPKGPREFIX}-typing>=3.5.3:../../devel/py-typing
.endif
USE_LANGUAGES= # none
REPLACE_PYTHON= mypy/typeshed/tests/*.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} dmypy dmypy-${PYVERSSUFFIX} && \
${MV} mypy mypy-${PYVERSSUFFIX} && \
${MV} stubgen stubgen-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"