From owner-svn-ports-head@freebsd.org Tue Jan 26 10:20:15 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 926D0A6E168; Tue, 26 Jan 2016 10:20:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62DAB1053; Tue, 26 Jan 2016 10:20:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0QAKEsD071453; Tue, 26 Jan 2016 10:20:14 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0QAKE0k071452; Tue, 26 Jan 2016 10:20:14 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201601261020.u0QAKE0k071452@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 26 Jan 2016 10:20:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407269 - head/devel/py-trollius X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 10:20:15 -0000 Author: koobs Date: Tue Jan 26 10:20:14 2016 New Revision: 407269 URL: https://svnweb.freebsd.org/changeset/ports/407269 Log: devel/py-trollius: Fix TEST_DEPENDS - Make mock a conditional TEST_DEPENDS - Add missing unittest2 TEST_DEPENDS - Remove run-aiotest from test target. Requires aiotest (PyPI) Didn't pick this up in testing because mock and unittest2 were installed locally, and running test: in poudriere is non-trivial at the moment. PR: 206578 Modified: head/devel/py-trollius/Makefile Modified: head/devel/py-trollius/Makefile ============================================================================== --- head/devel/py-trollius/Makefile Tue Jan 26 10:20:00 2016 (r407268) +++ head/devel/py-trollius/Makefile Tue Jan 26 10:20:14 2016 (r407269) @@ -12,8 +12,6 @@ COMMENT= Port of the Tulip project (asyn LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock - USES= python USE_PYTHON= autoplist distutils @@ -23,11 +21,14 @@ NO_ARCH= yes .if ${PYTHON_REL} < 3000 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 +.if ${PYTHON_REL} < 3300 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +.endif .endif do-test: @cd ${WRKSRC} && \ - ${PYTHON_CMD} runtests.py && \ - ${PYTHON_CMD} run_aiotest.py + ${PYTHON_CMD} runtests.py .include