git: c31d852e00d1 - main - databases/py-apsw: Cosmetic change
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Sep 21 03:50:53 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c31d852e00d1f0ddf680659e3bed126c4dcb330a
commit c31d852e00d1f0ddf680659e3bed126c4dcb330a
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:11:52 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:44:16 +0000
databases/py-apsw: Cosmetic change
---
databases/py-apsw/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
index d205bea531e5..0ebc054bac69 100644
--- a/databases/py-apsw/Makefile
+++ b/databases/py-apsw/Makefile
@@ -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
More information about the dev-commits-ports-all
mailing list