mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
64417eff5c
closes #3629
30 lines
884 B
YAML
30 lines
884 B
YAML
distributable:
|
|
url: https://github.com/KillianLucas/open-interpreter/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: open-interpreter
|
|
|
|
versions:
|
|
github: KillianLucas/open-interpreter
|
|
|
|
dependencies:
|
|
python.org: '>=3.10<3.12'
|
|
github.com/mattrobenolt/jinja2-cli: '*'
|
|
|
|
build:
|
|
- python-venv.sh {{prefix}}/bin/interpreter
|
|
|
|
# ooba calls the github api, which has frequent rate-limit failures
|
|
# returning the current value isn't the best, but it should fix this.
|
|
- run: |
|
|
OOBA_VERSION=$(echo ooba-*-dist.info | sed 's/ooba-\(.*\)-dist.info/\1/')
|
|
cd ooba/utils
|
|
sed -i.bak -e"s/raise Exception.*/return \"v1.7\"/" get_latest_release.py
|
|
rm get_latest_release.py.bak
|
|
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages/
|
|
|
|
provides:
|
|
- bin/interpreter
|
|
|
|
test:
|
|
interpreter --help
|