Bug 258854 - devel/py-cfn-lint: Update to 0.54.2
Summary: devel/py-cfn-lint: Update to 0.54.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yasuhiro Kimura
URL: https://github.com/aws-cloudformation...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-10-02 02:07 UTC by Norikatsu Shigemura
Modified: 2021-10-19 01:49 UTC (History)
3 users (show)

See Also:


Attachments
a patch for update to 0.54.2 (839 bytes, patch)
2021-10-02 02:07 UTC, Norikatsu Shigemura
nork: maintainer-approval+
Details | Diff
a patch for update to 0.54.2 #2 (1.85 KB, patch)
2021-10-18 08:28 UTC, Norikatsu Shigemura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!