From a5347f93a7f45e5e3f9badc424ab9d1a76f81102 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 10 Mar 2024 19:54:49 +0200 Subject: [PATCH] new file: projects/github.com/cookiecutter/cookiecutter/package.yml --- .../cookiecutter/cookiecutter/package.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/github.com/cookiecutter/cookiecutter/package.yml 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}}