mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
31 lines
710 B
YAML
31 lines
710 B
YAML
distributable:
|
|
url: git+https://github.com/astanin/python-tabulate.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: astanin/python-tabulate/tags
|
|
|
|
dependencies:
|
|
python.org: '>=3.11'
|
|
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
|
|
|
|
build:
|
|
- python -m pip install --prefix={{prefix}} .
|
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
working-directory: ${{prefix}}/lib
|
|
|
|
provides:
|
|
- bin/tabulate
|
|
|
|
test:
|
|
script:
|
|
- run: tabulate -f grid $FIXTURE | grep '| eggs | 451 |'
|
|
fixture:
|
|
content: |
|
|
name qty
|
|
eggs 451
|
|
spam 42
|
|
extname: txt |