Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 12:17:01 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r419363 - branches/2016Q3/sysutils/py-ploy_ansible
Message-ID:  <201607311217.u6VCH1ft046511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Jul 31 12:17:00 2016
New Revision: 419363
URL: https://svnweb.freebsd.org/changeset/ports/419363

Log:
  MFH: r419362: 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 <Claus.Andersen+FreeBSDbugzilla enkel-it dk>
  
  Approved by:	ports-secteam (blanket)

Modified:
  branches/2016Q3/sysutils/py-ploy_ansible/Makefile
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/sysutils/py-ploy_ansible/Makefile
==============================================================================
--- branches/2016Q3/sysutils/py-ploy_ansible/Makefile	Sun Jul 31 12:14:23 2016	(r419362)
+++ branches/2016Q3/sysutils/py-ploy_ansible/Makefile	Sun Jul 31 12:17:00 2016	(r419363)
@@ -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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607311217.u6VCH1ft046511>