1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

databases/py-apsw: Cosmetic change

This commit is contained in:
Po-Chuan Hsieh 2021-09-21 11:11:52 +08:00
parent 6e39e458cb
commit c31d852e00
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -19,15 +19,14 @@ USES= localbase python:3.6+ sqlite:3 zip
USE_PYTHON= autoplist concurrent distutils
OPTIONS_DEFINE= EXTENSION
OPTIONS_DEFAULT= EXTENSION
OPTIONS_DEFAULT=EXTENSION
EXTENSION_DESC= Allow loadable extensions
EXTENSION_VARS= PYDISTUTILS_BUILDARGS+=--enable=load_extension
EXTENSION_VARS= PYDISTUTILS_BUILDARGS+=--enable=load_extension
EXTENSION_VARS_OFF= PYDISTUTILS_BUILDARGS+=--omit=load_extension
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/apsw*.so
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
do-test:
cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test