Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2018 19:34:53 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480430 - in head/devel: . py-molecule
Message-ID:  <201809221934.w8MJYrmF001172@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sat Sep 22 19:34:53 2018
New Revision: 480430
URL: https://svnweb.freebsd.org/changeset/ports/480430

Log:
  Add py-molecule 2.18.1, aid for the development and testing of Ansible
  roles.

Added:
  head/devel/py-molecule/
  head/devel/py-molecule/Makefile   (contents, props changed)
  head/devel/py-molecule/Makefile~   (contents, props changed)
  head/devel/py-molecule/distinfo   (contents, props changed)
  head/devel/py-molecule/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Sep 22 19:23:54 2018	(r480429)
+++ head/devel/Makefile	Sat Sep 22 19:34:53 2018	(r480430)
@@ -4736,6 +4736,7 @@
     SUBDIR += py-minimongo
     SUBDIR += py-minio
     SUBDIR += py-mock
+    SUBDIR += py-molecule
     SUBDIR += py-mondrian
     SUBDIR += py-mongoengine
     SUBDIR += py-mongokit

Added: head/devel/py-molecule/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-molecule/Makefile	Sat Sep 22 19:34:53 2018	(r480430)
@@ -0,0 +1,56 @@
+# $FreeBSD$
+
+PORTNAME=	molecule
+PORTVERSION=	2.18.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Aid for the development and testing of Ansible roles
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ansible-lint>=3.4.23:sysutils/py-ansible-lint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}anyconfig>=0.9.7:devel/py-anyconfig@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Cerberus>=1.2:devel/py-cerberus@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-completion>=0.3.1:devel/py-click-completion@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cookiecutter>=1.6.0:devel/py-cookiecutter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>=3.5.0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-gilt>=1.2.1:devel/py-python-gilt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sh>=1.12.14:devel/py-sh@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.2:devel/py-tabulate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}testinfra>=0.1.2:devel/py-testinfra@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tree-format>=0.1.2:devel/py-tree-format@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yamllint>=1.11.1:devel/py-yamllint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.7:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>0:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+# Note: we're only running the unit tests here.  Upstream acknowledges
+# that functional tests are still a work in progress.
+#
+# Test failures. Only three tests fail:
+#  test/unit/test_util.py ......FFF.......................   [ 23%]
+#
+# The click module demands a UTF-8 locale when used with python-3.x
+TEST_ENV=	LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>

Added: head/devel/py-molecule/Makefile~
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-molecule/Makefile~	Sat Sep 22 19:34:53 2018	(r480430)
@@ -0,0 +1,56 @@
+# $FreeBSD$
+
+PORTNAME=	molecule
+PORTVERSION=	2.18.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Aid for the development and testing of Ansible roles
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ansible-lint>=3.4.23:sysutils/py-ansible-lint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}anyconfig>=0.9.7:devel/py-anyconfig@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Cerberus>=1.2:devel/py-cerberus@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-completion>=0.3.1:devel/py-click-completion@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cookiecutter>=1.6.0:devel/py-cookiecutter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flake8>=3.5.0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-gilt>=1.2.1:devel/py-python-gilt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sh>=1.12.14:devel/py-sh@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.2:devel/py-tabulate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}testinfra>=0.1.2:devel/py-testinfra@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tree-format>=0.1.2:devel/py-tree-format@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yamllint>=1.11.1:devel/py-yamllint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.7:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>0:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
+
+NO_ARCH=	yes
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+# Note: we're only running the unit tests here.  Upstream acknowledges
+# that functional tests are still a work in progress.
+#
+# Test failures. Only three tests fail:
+#  test/unit/test_util.py ......FFF.......................   [ 23%]
+#
+# The click module demands a UTF-8 locale when used with python-3.x
+TEST_ENV=	LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>

Added: head/devel/py-molecule/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-molecule/distinfo	Sat Sep 22 19:34:53 2018	(r480430)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537621144
+SHA256 (molecule-2.18.1.tar.gz) = b97885056a0acb1a811afa79911730855b7d11f5c74cf06465f5c5ef8629d974
+SIZE (molecule-2.18.1.tar.gz) = 4518368

Added: head/devel/py-molecule/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-molecule/pkg-descr	Sat Sep 22 19:34:53 2018	(r480430)
@@ -0,0 +1,8 @@
+Molecule is designed to aid in the development and testing of Ansible
+roles. Molecule provides support for testing with multiple instances,
+operating systems and distributions, virtualization providers, test
+frameworks and testing scenarios. Molecule is opinionated in order to
+encourage an approach that results in consistently developed roles
+that are well-written, easily understood and maintained.
+
+WWW: https://molecule.readthedocs.io/en/latest/



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