pantry/projects/github.com/astanin/python-tabulate/package.yml

37 lines
844 B
YAML
Raw Normal View History

distributable:
url: git+https://github.com/astanin/python-tabulate.git
ref: ${{version.tag}}
versions:
github: astanin/python-tabulate/tags
dependencies:
2024-01-29 18:39:07 +03:00
pkgx.sh: ^1
runtime:
env:
2024-01-29 18:39:07 +03:00
PYTHONPATH: ${{prefix}}/venv/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
build:
2024-01-29 18:39:07 +03:00
dependencies:
python.org: '>=3.11'
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} tabulate
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: ${{prefix}}/venv/lib
provides:
- bin/tabulate
test:
script:
- run: tabulate -f grid $FIXTURE | grep '| eggs | 451 |'
fixture:
content: |
name qty
eggs 451
spam 42
2024-01-29 18:39:07 +03:00
extname: txt