[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / py-mypy

File: [cvs.NetBSD.org] / pkgsrc / lang / py-mypy / Makefile (download)

Revision 1.13, Wed Dec 11 19:06:55 2019 UTC (6 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.12: +2 -2 lines

py-mypy: updated to 0.750

Mypy 0.750 was released. This release has better support for self-types, improved stub generator, experimental static inference of annotations, and other improvements and bug fixes. Read the blog post for more details.

# $NetBSD: Makefile,v 1.13 2019/12/11 19:06:55 adam Exp $

DISTNAME=	mypy-0.750
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}-mypy_extensions>=0.4.0:../../lang/py-mypy_extensions
DEPENDS+=	${PYPKGPREFIX}-typed-ast>=1.4.0:../../devel/py-typed-ast
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27

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"