mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
81f2dae6b2
closes #4011
31 lines
900 B
YAML
31 lines
900 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/
|
|
if: <0.1.11
|
|
|
|
provides:
|
|
- bin/interpreter
|
|
|
|
test:
|
|
interpreter --help
|