Date: Fri, 16 Dec 2022 20:21:36 GMT From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e770eab55618 - main - sysutils/py-ansible-lint: 6.10.0 Message-ID: <202212162021.2BGKLa0N008664@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=e770eab55618d876a445eb4e2dffc3fda20682f7 commit e770eab55618d876a445eb4e2dffc3fda20682f7 Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2022-12-16 20:19:31 +0000 Commit: Matthew Seaman <matthew@FreeBSD.org> CommitDate: 2022-12-16 20:21:33 +0000 sysutils/py-ansible-lint: 6.10.0 Switch to PEP-621 packaging; provide a rudimentary setup.py for the benefit of the ports build system. Changes: https://github.com/ansible/ansible-lint/releases/tag/v6.10.0 --- sysutils/py-ansible-lint/Makefile | 13 ++++++++----- sysutils/py-ansible-lint/distinfo | 6 +++--- sysutils/py-ansible-lint/files/patch-setup.py | 8 -------- sysutils/py-ansible-lint/files/setup.py | 3 +++ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/sysutils/py-ansible-lint/Makefile b/sysutils/py-ansible-lint/Makefile index 9fabee581759..3d9d8a09ae8f 100644 --- a/sysutils/py-ansible-lint/Makefile +++ b/sysutils/py-ansible-lint/Makefile @@ -1,5 +1,5 @@ PORTNAME= ansible-lint -PORTVERSION= 6.9.1 +PORTVERSION= 6.10.0 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,7 @@ WWW= https://github.com/willthames/ansible-lint LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.2.6:sysutils/py-ansible-compat@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.2.7:sysutils/py-ansible-compat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ansible-core>=2.12.0:sysutils/py-ansible-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}black>=22.8.0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.3.0:sysutils/py-filelock@${PY_FLAVOR} \ @@ -22,9 +22,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible-compat>=2.2.6:sysutils/py-ansible-co ${PYTHON_PKGNAMEPREFIX}wcmatch>=8.1.2:textproc/py-wcmatch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yamllint>=1.26.3:devel/py-yamllint@${PY_FLAVOR} -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5.0:devel/py-setuptools_scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4.2:devel/py-setuptools_scm@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=7.2.0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.10.1:devel/py-pytest-cov@${PY_FLAVOR} \ @@ -36,6 +36,9 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) diff --git a/sysutils/py-ansible-lint/distinfo b/sysutils/py-ansible-lint/distinfo index d6a6eceaa5b4..ddb7bd90b90d 100644 --- a/sysutils/py-ansible-lint/distinfo +++ b/sysutils/py-ansible-lint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670270761 -SHA256 (ansible-lint-6.9.1.tar.gz) = 4c85f0d61700042cab964dd7bdc9227137ba5490249f705acfd9de46eb00a07f -SIZE (ansible-lint-6.9.1.tar.gz) = 414149 +TIMESTAMP = 1671199743 +SHA256 (ansible-lint-6.10.0.tar.gz) = f5ecec58ebe7b6bfc4976be7d6e400411a8af05b0e1a19f15f25f59f3401348c +SIZE (ansible-lint-6.10.0.tar.gz) = 421971 diff --git a/sysutils/py-ansible-lint/files/patch-setup.py b/sysutils/py-ansible-lint/files/patch-setup.py deleted file mode 100644 index 12c9d0596446..000000000000 --- a/sysutils/py-ansible-lint/files/patch-setup.py +++ /dev/null @@ -1,8 +0,0 @@ ---- setup.py.orig 2019-12-09 07:04:35 UTC -+++ setup.py -@@ -0,0 +1,5 @@ -+ -+import setuptools -+if __name__ == "__main__": -+ setuptools.setup(use_scm_version=True) -+ diff --git a/sysutils/py-ansible-lint/files/setup.py b/sysutils/py-ansible-lint/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/sysutils/py-ansible-lint/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212162021.2BGKLa0N008664>