From owner-svn-ports-all@freebsd.org Fri May 18 13:45:42 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4819FEA895E; Fri, 18 May 2018 13:45:42 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9AD1767CE; Fri, 18 May 2018 13:45:41 +0000 (UTC) (envelope-from lifanov@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CAE0C18E8A; Fri, 18 May 2018 13:45:41 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4IDjfYF077171; Fri, 18 May 2018 13:45:41 GMT (envelope-from lifanov@FreeBSD.org) Received: (from lifanov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4IDjeC8077164; Fri, 18 May 2018 13:45:40 GMT (envelope-from lifanov@FreeBSD.org) Message-Id: <201805181345.w4IDjeC8077164@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lifanov set sender to lifanov@FreeBSD.org using -f From: Nikolai Lifanov Date: Fri, 18 May 2018 13:45:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470293 - in head: . sysutils/ansible sysutils/ansible1 sysutils/ansible23 sysutils/ansible24 X-SVN-Group: ports-head X-SVN-Commit-Author: lifanov X-SVN-Commit-Paths: in head: . sysutils/ansible sysutils/ansible1 sysutils/ansible23 sysutils/ansible24 X-SVN-Commit-Revision: 470293 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 13:45:42 -0000 Author: lifanov Date: Fri May 18 13:45:40 2018 New Revision: 470293 URL: https://svnweb.freebsd.org/changeset/ports/470293 Log: add tests and FLAVORS to Ansible ports Most of the work was done by koobs. Thank you! PR: 228268 Submitted by: koobs Reported by: Christopher Hall Modified: head/UPDATING head/sysutils/ansible/Makefile head/sysutils/ansible1/Makefile head/sysutils/ansible23/Makefile head/sysutils/ansible24/Makefile Modified: head/UPDATING ============================================================================== --- head/UPDATING Fri May 18 13:27:23 2018 (r470292) +++ head/UPDATING Fri May 18 13:45:40 2018 (r470293) @@ -5,6 +5,19 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20180518: + AFFECTS: users of sysutils/ansible* + AUTHOR: lifanov@FreeBSD.org + + Ansible ports are now flavored. Package names for Ansible changed + to include python version. Poudriere and package users don't need + to do anything. + + To rename an installed package to match the new naming scheme, + for example, for ansible24, run: + + # pkg set -n ansible24:py27-ansible24 + 20180514: AFFECTS: users of www/gitlab AUTHOR: mfechner@FreeBSD.org Modified: head/sysutils/ansible/Makefile ============================================================================== --- head/sysutils/ansible/Makefile Fri May 18 13:27:23 2018 (r470292) +++ head/sysutils/ansible/Makefile Fri May 18 13:45:40 2018 (r470293) @@ -2,9 +2,10 @@ PORTNAME= ansible PORTVERSION?= 2.5.2 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lifanov@FreeBSD.org COMMENT= Radically simple IT automation @@ -18,6 +19,14 @@ RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +TEST_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} CONFLICTS?= ansible1-* ansible23-* ansible24-* @@ -25,7 +34,7 @@ EXTRA_PATCHES?= ${FILESDIR}/extra-patch-sesu NO_ARCH= yes USES?= cpe python -USE_PYTHON= autoplist distutils noflavors +USE_PYTHON= distutils autoplist concurrent CPE_VENDOR= ansibleworks SUB_FILES= pkg-message @@ -59,5 +68,12 @@ post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR} + +TEST_WRKSRC=${WRKSRC}/test + +do-test: +# ${PYTHON_CMD} ${TEST_WRKSRC}/runner/ansible-test sanity --python ${PYTHON_VER} -v + ${RM} ${TEST_WRKSRC}/units/modules/net_tools/test_nmcli.py # not conditional/doesn't work with nose + ${PYTHON_CMD} ${TEST_WRKSRC}/runner/ansible-test units --python ${PYTHON_VER} -v .include Modified: head/sysutils/ansible1/Makefile ============================================================================== --- head/sysutils/ansible1/Makefile Fri May 18 13:27:23 2018 (r470292) +++ head/sysutils/ansible1/Makefile Fri May 18 13:45:40 2018 (r470293) @@ -2,7 +2,7 @@ PKGNAMESUFFIX= 1 PORTVERSION= 1.9.6 -PORTREVISION= 2 +PORTREVISION= 3 CONFLICTS= ansible-* ansible23-* ansible24-* Modified: head/sysutils/ansible23/Makefile ============================================================================== --- head/sysutils/ansible23/Makefile Fri May 18 13:27:23 2018 (r470292) +++ head/sysutils/ansible23/Makefile Fri May 18 13:45:40 2018 (r470293) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTVERSION= 2.3.3.0 -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= 23 CONFLICTS= ansible-* ansible1-* ansible24-* Modified: head/sysutils/ansible24/Makefile ============================================================================== --- head/sysutils/ansible24/Makefile Fri May 18 13:27:23 2018 (r470292) +++ head/sysutils/ansible24/Makefile Fri May 18 13:45:40 2018 (r470293) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTVERSION= 2.4.4.0 -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= 24 CONFLICTS= ansible-* ansible1-* ansible23-*