freebsd-ports/lang/py-lupa/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

30 lines
652 B
Makefile

PORTNAME= lupa
PORTVERSION= 1.13
CATEGORIES= lang python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python wrapper around Lua and LuaJIT
WWW= https://github.com/scoder/lupa
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= lua pkgconfig python:3.6+
USE_PYTHON= autoplist concurrent distutils
MAKE_ARGS= --no-bundle
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/third-party/
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py test
.include <bsd.port.mk>