ports/devel/py-simpleparse/Makefile
Po-Chuan Hsieh 6cd87c52f9
devel/py-simpleparse: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
2024-05-13 22:00:18 +08:00

23 lines
694 B
Makefile

PORTNAME= simpleparse
PORTVERSION= 2.2.4
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SimpleParse-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python EBNF parser generator (with mx.TextTools derivative)
WWW= https://simpleparse.sourceforge.net/ \
https://github.com/mcfletch/simpleparse
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>