mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
devel/py-cfn-lint: Add make test target
Approved by: hrs (mentor)
This commit is contained in:
parent
b881669c9d
commit
7978185b68
@ -23,7 +23,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aws-sam-translator>=1.65.0:devel/py-aws-sam-
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>5.4:devel/py-yaml@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent distutils unittest
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
PATH=${STAGEDIR}${PREFIX}/bin:${PATH} \
|
||||
PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
13
devel/py-cfn-lint/files/patch-src_cfnlint_maintenance.py
Normal file
13
devel/py-cfn-lint/files/patch-src_cfnlint_maintenance.py
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/cfnlint/maintenance.py.orig 2023-05-08 16:34:58 UTC
|
||||
+++ src/cfnlint/maintenance.py
|
||||
@@ -226,9 +226,8 @@ def update_documentation(rules):
|
||||
"../"
|
||||
+ subprocess.check_output(
|
||||
[
|
||||
- "git",
|
||||
"grep",
|
||||
- "-l",
|
||||
+ "-lr",
|
||||
'id = "' + rule.id + '"',
|
||||
"src/cfnlint/rules/",
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user