new file: projects/github.com/cookiecutter/cookiecutter/package.yml

This commit is contained in:
Andrii Riabchenko 2024-03-10 19:54:49 +02:00 committed by Jacob Heider
parent bfbb11099d
commit a5347f93a7

View file

@ -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}}