opnsense-ports/textproc/py-regex/Makefile
Franco Fichtner 5b2686c5ab textproc/py-regex: sync with upstream
Taken from: FreeBSD
2023-06-30 08:53:01 +02:00

21 lines
581 B
Makefile

PORTNAME= regex
DISTVERSION= 2022.9.13
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= fax@nohik.ee
COMMENT= Alternative regular expression module, to replace re
WWW= https://github.com/mrabarnett/mrab-regex
LICENSE= PSFL
USES= python
USE_PYTHON= autoplist distutils pytest # 1 test fails, see https://github.com/mrabarnett/mrab-regex/issues/482
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/regex/_regex*.so
.include <bsd.port.mk>