From 45280ada369b19d82138fc029805c34f5ce77211 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 4 Jan 2024 13:04:53 -0500 Subject: [PATCH] fix(checkov) convert to `bkpyvenv` closes #4725 closes #4726 --- projects/checkov.io/package.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/projects/checkov.io/package.yml b/projects/checkov.io/package.yml index a3232373..343d5a45 100644 --- a/projects/checkov.io/package.yml +++ b/projects/checkov.io/package.yml @@ -1,21 +1,30 @@ distributable: url: https://github.com/bridgecrewio/checkov/archive/refs/tags/{{version}}.tar.gz strip-components: 1 + versions: url: https://pypi.org/project/checkov/#history match: /checkov\/\d+\.\d+\.\d+/ strip: /^checkov\// + dependencies: - python.org: ^3.12 + pkgx.sh: ^1 + build: + dependencies: + python.org: ^3.12 script: - - python-venv.sh {{prefix}}/bin/checkov + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} checkov env: linux: - # error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' + # error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' CFLAGS: -Wno-int-conversion + provides: - bin/checkov + test: - checkov --version | grep {{version}} - checkov -f test.tf > output.log