git: 7478bf7a3518 - main - devel/py-molecule: Update version 4.0.0=>4.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jul 2023 15:46:27 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7478bf7a351840541f30dd2b000aa6215f1e3627 commit 7478bf7a351840541f30dd2b000aa6215f1e3627 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-15 15:40:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-15 15:43:35 +0000 devel/py-molecule: Update version 4.0.0=>4.0.1 Changelog: https://github.com/ansible-community/molecule/releases/tag/v4.0.1 --- devel/py-molecule/Makefile | 22 +++++++++------------- devel/py-molecule/distinfo | 6 +++--- devel/py-molecule/files/patch-setup.py | 32 -------------------------------- 3 files changed, 12 insertions(+), 48 deletions(-) diff --git a/devel/py-molecule/Makefile b/devel/py-molecule/Makefile index 7c9416efcafd..05d277215da3 100644 --- a/devel/py-molecule/Makefile +++ b/devel/py-molecule/Makefile @@ -1,5 +1,5 @@ PORTNAME= molecule -PORTVERSION= 4.0.0 +PORTVERSION= 4.0.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +11,13 @@ WWW= https://molecule.readthedocs.io/en/latest/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} -# click-help-colors >= 0.9 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.1.0:sysutils/py-ansible-compat@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=19.3.1:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.33.6:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.2.0:sysutils/py-ansible-compat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Cerberus>=1.3.1:devel/py-cerberus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-help-colors>=0.9:devel/py-click-help-colors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cookiecutter>=1.7.3:devel/py-cookiecutter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}enrich>=1.2.7:textproc/py-enrich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.3:devel/py-Jinja2@${PY_FLAVOR} \ @@ -25,20 +27,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.1.0:sysutils/py-ansible-co ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} # ansi2html >= 1.6.0 # pytest-cov >= 2.10.1 -# pytest-mock >= 3.3.1 # pytest-testinfra >= 6.1.0 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=6.2:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>=4.8.0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.9.0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-html>=3.0.0:devel/py-pytest-html@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-mock>=1.10.4:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.3.1:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-plus>=0.2:devel/py-pytest-plus@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.1.0:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.2:devel/py-pytest@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.1.0:devel/py-pytest-xdist@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest # Note: we're only running the unit tests here. Upstream acknowledges # that functional tests are still a work in progress. @@ -63,12 +63,8 @@ DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.11.3:devel/py-Jinja2@${PY_F ${PYTHON_PKGNAMEPREFIX}ansible-core>=2.12.0:sysutils/py-ansible-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3.17.2:devel/py-simplejson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=5.0.0:textproc/py-sphinx@${PY_FLAVOR} -# lint = LINT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=3.8.4:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pre-commit>=2.10.1:devel/py-pre-commit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yamllint>0:devel/py-yamllint@${PY_FLAVOR} -do-test: - @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) - .include <bsd.port.mk> diff --git a/devel/py-molecule/distinfo b/devel/py-molecule/distinfo index 8ce23204b2a5..23f8a23b028d 100644 --- a/devel/py-molecule/distinfo +++ b/devel/py-molecule/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682274409 -SHA256 (molecule-4.0.0.tar.gz) = 31cbcdafb96a3e0df2a02ab49b4a4ce7d0c3129b34c351935612bf8097c999e2 -SIZE (molecule-4.0.0.tar.gz) = 299777 +TIMESTAMP = 1689431591 +SHA256 (molecule-4.0.1.tar.gz) = ee10e5463bc9940f9afd9b85812c63eacefea889a99c21274f4054ebe248c3b9 +SIZE (molecule-4.0.1.tar.gz) = 301517 diff --git a/devel/py-molecule/files/patch-setup.py b/devel/py-molecule/files/patch-setup.py deleted file mode 100644 index 01a4cfd69957..000000000000 --- a/devel/py-molecule/files/patch-setup.py +++ /dev/null @@ -1,32 +0,0 @@ ---- setup.py.orig 2022-03-31 08:16:17 UTC -+++ setup.py -@@ -0,0 +1,29 @@ -+#! /usr/bin/env python -+# Copyright (c) 2019 Red Hat, Inc. -+# Copyright (c) 2015-2018 Cisco Systems, Inc. -+# -+# Permission is hereby granted, free of charge, to any person obtaining a copy -+# of this software and associated documentation files (the "Software"), to -+# deal in the Software without restriction, including without limitation the -+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -+# sell copies of the Software, and to permit persons to whom the Software is -+# furnished to do so, subject to the following conditions: -+# -+# The above copyright notice and this permission notice shall be included in -+# all copies or substantial portions of the Software. -+# -+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -+# DEALINGS IN THE SOFTWARE. -+"""Molecule distribution package setuptools installer.""" -+ -+import setuptools -+ -+if __name__ == "__main__": -+ setuptools.setup( -+ use_scm_version=True, setup_requires=["setuptools_scm"], -+ )