svn commit: r527508 - head/www/py-tornado6

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


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

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

Modified:
  head/www/py-tornado6/Makefile

Modified: head/www/py-tornado6/Makefile
==============================================================================
--- head/www/py-tornado6/Makefile	Sun Mar  1 06:48:34 2020	(r527507)
+++ head/www/py-tornado6/Makefile	Sun Mar  1 06:48:39 2020	(r527508)
@@ -18,10 +18,10 @@ CONFLICTS=	py[0-9]*-tornado-* py[0-9]*-tornado4-*
 USES=		python:3.5+
 USE_PYTHON=	autoplist distutils
 
-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.mk>


More information about the svn-ports-all mailing list