mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
d05b43431e
relocation issues
36 lines
844 B
YAML
36 lines
844 B
YAML
distributable:
|
|
url: git+https://github.com/astanin/python-tabulate.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: astanin/python-tabulate/tags
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: ${{prefix}}/venv/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
|
|
|
|
build:
|
|
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
|
|
extname: txt
|