Date: Sun, 4 Oct 2015 13:50:11 +1100 From: Kubilay Kocak <koobs@FreeBSD.org> To: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, Jan Beich <jbeich@FreeBSD.org> Subject: Re: svn commit: r398483 - head/devel/py-protobuf Message-ID: <561093E3.50701@FreeBSD.org> In-Reply-To: <201510031707.t93H7ZXA008510@repo.freebsd.org> References: <201510031707.t93H7ZXA008510@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?561093E3.50701>