Bug 258854

Summary: devel/py-cfn-lint: Update to 0.54.2
Product: Ports & Packages Reporter: Norikatsu Shigemura <nork>
Component: Individual Port(s)Assignee: Yasuhiro Kimura <yasu>
Status: Closed FIXED    
Severity: Affects Some People CC: eduardo, python, yasu
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/aws-cloudformation/cfn-lint/blob/v0.54.2/CHANGELOG.md
Attachments:
Description Flags
a patch for update to 0.54.2
nork: maintainer-approval+
a patch for update to 0.54.2 #2 none

Description Norikatsu Shigemura 2021-10-02 02:07:35 UTC
Created attachment 228342 [details]
a patch for update to 0.54.2

Update to 0.54.2.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2021-10-07 10:19:46 UTC
Hello,

1. Replace PORTVERSION with DISTVERSION

https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-naming

2. RUN_DEPENDS could be in alpabetical order (portfmt -D Makefile):
---
--- Makefile
+++ Makefile
@@ -10,13 +10,13 @@
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aws-sam-translator>=1.38.0:devel/py-aws-sam-translator@${PY_FLAVOR} \
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>5.4:devel/py-yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.11:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}aws-sam-translator>=1.38.0:devel/py-aws-sam-translator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=3.2:devel/py-jsonschema@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}junit-xml>=1.9:textproc/py-junit-xml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}networkx>=2.4:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.11:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>5.4:devel/py-yaml@${PY_FLAVOR}
-		${PYTHON_PKGNAMEPREFIX}junit-xml>=1.9:textproc/py-junit-xml@${PY_FLAVOR}
 
 py36_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.4:devel/py-importlib-resources@${PY_FLAVOR}
---
Comment 2 Norikatsu Shigemura 2021-10-18 08:28:36 UTC
Created attachment 228801 [details]
a patch for update to 0.54.2 #2

Hi Nuno.
OK, I fixed a patch you said.  Please see new patch.
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-10-18 09:47:41 UTC
Take.
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-10-19 01:38:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e2f1240aec0de215fb1b570e6125d486df789f26

commit e2f1240aec0de215fb1b570e6125d486df789f26
Author:     Norikatsu Shigemura <nork@ninth-nine.com>
AuthorDate: 2021-10-18 09:44:04 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-10-19 01:37:17 +0000

    devel/py-cfn-lint: Update to 0.54.2

    * Switch to DISTVERSION
    * Reformat Makefile with portfmt

    PR:             258854
    Approved by:    ygy (mentor)
    Differential Revision:  https://reviews.freebsd.org/D32544

 devel/py-cfn-lint/Makefile | 10 +++++-----
 devel/py-cfn-lint/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)
Comment 5 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-10-19 01:49:06 UTC
Committed. Thanks!