Makefile 833 Bytes
Newer Older
dbn's avatar
dbn committed
1
2
3
4
# Created by: Florian Limberger <flo@snakeoilproductions.net>
# $FreeBSD$

PORTNAME=	mypy
swills's avatar
swills committed
5
PORTVERSION=	0.701
dbn's avatar
dbn committed
6
7
8
9
10
11
12
13
14
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
dbn's avatar
dbn committed
15
LICENSE_FILE=	${WRKSRC}/LICENSE
dbn's avatar
dbn committed
16

amdmi3's avatar
amdmi3 committed
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typed-ast>=1.3.1:devel/py-typed-ast@${PY_FLAVOR} \
wen's avatar
wen committed
18
		${PYTHON_PKGNAMEPREFIX}psutil>=5.4.0:sysutils/py-psutil@${PY_FLAVOR} \
19
20
		${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0:devel/py-mypy_extensions@${PY_FLAVOR} \
		${PY_TYPING}
dbn's avatar
dbn committed
21

dbn's avatar
dbn committed
22
23
USES=		python:3.4+ shebangfix
USE_PYTHON=	autoplist concurrent distutils
swills's avatar
swills committed
24
25
26

NO_ARCH=	yes
SHEBANG_FILES=	mypy/typeshed/tests/*.py
dbn's avatar
dbn committed
27

amdmi3's avatar
amdmi3 committed
28
29
30
do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

31
.include <bsd.port.mk>