Files
2026-10-04 04:07:15 +00:00

23 lines
572 B
Makefile

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>