mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/github.com/cookiecutter/cookiecutter/package.yml
This commit is contained in:
parent
bfbb11099d
commit
a5347f93a7
29
projects/github.com/cookiecutter/cookiecutter/package.yml
Normal file
29
projects/github.com/cookiecutter/cookiecutter/package.yml
Normal 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}}
|
Loading…
Reference in a new issue