From owner-svn-ports-head@freebsd.org Sun Jul 31 12:14:24 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 78206BA2719; Sun, 31 Jul 2016 12:14:24 +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 4A95B11AF; Sun, 31 Jul 2016 12:14:24 +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 u6VCENB1046250; Sun, 31 Jul 2016 12:14:23 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6VCEN7m046249; Sun, 31 Jul 2016 12:14:23 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201607311214.u6VCEN7m046249@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sun, 31 Jul 2016 12:14:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419362 - head/sysutils/py-ploy_ansible 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.22 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: Sun, 31 Jul 2016 12:14:24 -0000 Author: koobs Date: Sun Jul 31 12:14:23 2016 New Revision: 419362 URL: https://svnweb.freebsd.org/changeset/ports/419362 Log: sysutils/py-ploy_ansible: Depend on ansible1, unbreak runtime 1.3.1 changes the ansible requirement to < 2.dev0 due to too many incompatible changes. Switch the dependency to ansible1 to compensate. While I'm here: * Add TEST_DEPENDS and test target PR: 210215 Reported by: Claus Andersen MFH: 2016Q3 Modified: head/sysutils/py-ploy_ansible/Makefile Modified: head/sysutils/py-ploy_ansible/Makefile ============================================================================== --- head/sysutils/py-ploy_ansible/Makefile Sun Jul 31 11:54:32 2016 (r419361) +++ head/sysutils/py-ploy_ansible/Makefile Sun Jul 31 12:14:23 2016 (r419362) @@ -3,6 +3,7 @@ PORTNAME= ploy_ansible PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,11 +16,19 @@ LICENSE= GPLv3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:devel/py-setuptools${PYTHON_SUFFIX} \ ${PYTHON_PKGNAMEPREFIX}ploy>=1.0.0:sysutils/py-ploy \ ${PYTHON_PKGNAMEPREFIX}execnet>0:sysutils/py-execnet \ - ansible>=1.8.0:sysutils/ansible + ansible1<2.0:sysutils/ansible1 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy>0:devel/py-lazy \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}pytest-capturelog>0:devel/py-pytest-capturelog USES= python:-2.7 USE_PYTHON= autoplist distutils NO_ARCH= yes +do-test: + @cd ${WRKSRC} && \ + ${RM} tox.ini && \ + ${PYTHON_CMD} -m pytest -rsw ploy_ansible + .include