svn commit: r527506 - head/www/py-tornado

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Mar 1 06:48:32 UTC 2020


Author: sunpoet
Date: Sun Mar  1 06:48:29 2020
New Revision: 527506
URL: https://svnweb.freebsd.org/changeset/ports/527506

Log:
  Convert to test framework
  
  - Strip speedups.so directly

Modified:
  head/www/py-tornado/Makefile

Modified: head/www/py-tornado/Makefile
==============================================================================
--- head/www/py-tornado/Makefile	Sun Mar  1 06:48:24 2020	(r527505)
+++ head/www/py-tornado/Makefile	Sun Mar  1 06:48:29 2020	(r527506)
@@ -29,10 +29,10 @@ RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}singledispatch>0:
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports_abc>=0.4:devel/py-backports_abc@${PY_FLAVOR}
 .endif
 
-post-build:
-	@${FIND} ${WRKSRC}/build -name speedups.so -exec ${STRIP_CMD} {} \;
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/tornado/speedups.so
 
-regression-test: build
+do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list