new file: projects/github.com/astanin/python-tabulate/package.yml

This commit is contained in:
Andrii Riabchenko 2024-01-28 21:56:00 +02:00 committed by Jacob Heider
parent 3251380393
commit 7d72d2c261

View file

@ -0,0 +1,31 @@
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