svn commit: r398483 - head/devel/py-protobuf

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 3 17:07:35 UTC 2015


Author: sunpoet
Date: Sat Oct  3 17:07:34 2015
New Revision: 398483
URL: https://svnweb.freebsd.org/changeset/ports/398483

Log:
  - Convert to new test framework
  - Add NO_ARCH

Modified:
  head/devel/py-protobuf/Makefile

Modified: head/devel/py-protobuf/Makefile
==============================================================================
--- head/devel/py-protobuf/Makefile	Sat Oct  3 17:07:29 2015	(r398482)
+++ head/devel/py-protobuf/Makefile	Sat Oct  3 17:07:34 2015	(r398483)
@@ -16,6 +16,9 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}go
 		protoc:${PORTSDIR}/devel/protobuf
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-apputils>=0:${PORTSDIR}/devel/py-google-apputils
 
+DO_MAKE_TEST=	${PYTHON_CMD} ${PYDISTUTILS_SETUP}
+NO_ARCH=	yes
+TEST_TARGET=	test
 USE_PYTHON=	autoplist distutils
 USES=		python tar:bzip2
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/python
@@ -26,7 +29,4 @@ USE_GITHUB=	yes
 post-patch:
 	@${MKDIR} ${WRKSRC}/google/protobuf/compiler/
 
-regression-test test: build
-	cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list