svn commit: r398483 - head/devel/py-protobuf
Kubilay Kocak
koobs at FreeBSD.org
Sun Oct 4 02:50:18 UTC 2015
On 4/10/2015 4:07 AM, Sunpoet Po-Chuan Hsieh wrote:
> 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
These bits *SHOULD* be set by python.mk, at least for the 'canonical'
setuptools test targetcase, and only *if* tests are explicitly enabled
in the port.
See https://reviews.freebsd.org/D3791
CC'ing Jan
> 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