blob: cc4c7c5d1546c89fca733ffd3caf18d15e0db1b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= lupa
PORTVERSION= 1.13
CATEGORIES= lang python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python wrapper around Lua and LuaJIT
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>
|