1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/devel/py-mypy/Makefile
Dmitry Marakasov adc33dc652 - Fix shebangs properly
Approved by:	portmgr blanket
2018-03-01 13:21:13 +00:00

33 lines
810 B
Makefile

# Created by: Florian Limberger <flo@snakeoilproductions.net>
# $FreeBSD$
PORTNAME= mypy
PORTVERSION= 0.560
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= flo@snakeoilproductions.net
COMMENT= Optional static typing for Python
LICENSE= MIT PSFL
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typed-ast>=1.1.0:devel/py-typed-ast@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=5.4.0:sysutils/py-psutil@${FLAVOR}
NO_ARCH= yes
USES= python:3.4+ shebangfix
USE_PYTHON= autoplist concurrent distutils
SHEBANG_FILES= typeshed/tests/*.py
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} < 3.5
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=3.5.3:devel/py-typing@${FLAVOR}
.endif
.include <bsd.port.post.mk>