mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
bb7160366a
commit
79a541ce2a
1 changed files with 33 additions and 0 deletions
33
projects/github.com/VikParuchuri/surya/package.yml
Normal file
33
projects/github.com/VikParuchuri/surya/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: git+https://github.com/VikParuchuri/surya.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
display-name: Surya
|
||||
|
||||
versions:
|
||||
github: VikParuchuri/surya
|
||||
|
||||
dependencies:
|
||||
python.org: ~3.11
|
||||
linux:
|
||||
mesa3d.org: ^23.3
|
||||
gnome.org/glib: ^2
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
python-poetry.org: ^1.7
|
||||
script:
|
||||
- bkpyvenv stage --engine=poetry {{prefix}} {{version}}
|
||||
- poetry install
|
||||
- bkpyvenv seal --engine=poetry {{prefix}} surya_detect
|
||||
|
||||
provides:
|
||||
- bin/surya_detect
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
curl.se: '*'
|
||||
script:
|
||||
- curl -L "https://raw.githubusercontent.com/VikParuchuri/surya/master/static/images/benchmark_chart_small.png" -o test.png
|
||||
- surya_detect ./test.png --images
|
||||
- cat results/surya/test/results.json | grep "[209, 2, 722, 17]"
|
Loading…
Reference in a new issue