1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: head/devel/py-astroid/Makefile 432193 2017-01-23 03:17:37Z vanilla $ |
3 |
|
4 |
PORTNAME= astroid |
5 |
PORTVERSION= 2.0.4 |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Abstract syntax tree for Python with inference support |
12 |
|
13 |
LICENSE= lgpl2.1 |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER |
15 |
|
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner |
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy \ |
18 |
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \ |
19 |
${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt |
20 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest |
21 |
|
22 |
USES= python:3.4+ |
23 |
USE_PYTHON= autoplist distutils |
24 |
|
25 |
NO_ARCH= yes |
26 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
.if ${PYTHON_REL} < 3500 |
30 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing |
31 |
.endif |
32 |
|
33 |
.if ${PYTHON_REL} < 3700 |
34 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typed-ast>=0:devel/py-typed-ast |
35 |
.endif |
36 |
|
37 |
.include <bsd.port.post.mk> |