diff --git a/projects/github.com/cookiecutter/cookiecutter/package.yml b/projects/github.com/cookiecutter/cookiecutter/package.yml new file mode 100644 index 00000000..da4f3e97 --- /dev/null +++ b/projects/github.com/cookiecutter/cookiecutter/package.yml @@ -0,0 +1,29 @@ +distributable: + url: https://github.com/cookiecutter/cookiecutter/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: cookiecutter/cookiecutter + +dependencies: + pkgx.sh: ^1 + +build: + dependencies: + python.org: ~3.12 + script: + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} cookiecutter + +provides: + - bin/cookiecutter + +test: + dependencies: + git-scm.org: '*' + script: + - git clone https://github.com/audreyr/cookiecutter-pypackage.git + - cookiecutter --no-input cookiecutter-pypackage + - ls | grep 'python_boilerplate' + - cookiecutter --version | grep {{version}}