From f66fba226bd7ef86f12d2c2c91469b1aa4c00808 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 7 Jun 2024 12:33:49 -0400 Subject: [PATCH] fix(cfn-lint) closes #6366 --- .../aws-cloudformation/cfn-lint/package.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/projects/github.com/aws-cloudformation/cfn-lint/package.yml b/projects/github.com/aws-cloudformation/cfn-lint/package.yml index b8a3ac44..71ce0b43 100644 --- a/projects/github.com/aws-cloudformation/cfn-lint/package.yml +++ b/projects/github.com/aws-cloudformation/cfn-lint/package.yml @@ -1,20 +1,31 @@ distributable: url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz strip-components: 1 + versions: github: aws-cloudformation/cfn-lint + dependencies: - python.org: ~3.11 + pkgx.sh: 1 pyyaml.org: '*' github.com/benjaminp/six: '*' + build: dependencies: rust-lang.org: '*' + python.org: ~3.11 script: - - python-venv.sh {{prefix}}/bin/cfn-lint + # wrong version shipped + - run: sed -i 's/__version__ = ".*"/__version__ = "{{version}}"/' version.py + working-directory: src/cfnlint + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} cfn-lint + provides: - bin/cfn-lint + test: script: - cfn-lint test.yml - - cfn-lint -v | grep {{version}} \ No newline at end of file + - cfn-lint -v | grep {{version}}