aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ast2json/Makefile
blob: 8c96e41452dac863f73e73b0c993b341ac28446f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	ast2json
DISTVERSION=	0.4
PORTREVISION=	1
CATEGORIES=	devel science
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Convert a python source code into json-dumpable AST data
WWW=		https://github.com/YoloSwagTeam/ast2json

LICENSE=	BSD3CLAUSE

USES=		python
USE_PYTHON=	distutils concurrent # autoplist: autoplist contains the 'test' folder that is removed

NO_ARCH=	yes

post-install: # see https://github.com/YoloSwagTeam/ast2json/issues/10
	@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/test

.include <bsd.port.mk>