mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/github.com/astanin/python-tabulate/package.yml
This commit is contained in:
parent
3251380393
commit
7d72d2c261
1 changed files with 31 additions and 0 deletions
31
projects/github.com/astanin/python-tabulate/package.yml
Normal file
31
projects/github.com/astanin/python-tabulate/package.yml
Normal 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
|
Loading…
Reference in a new issue