pantry/projects/openinterpreter.com/package.yml

32 lines
900 B
YAML
Raw Normal View History

2023-09-04 14:05:02 +03:00
distributable:
url: https://github.com/KillianLucas/open-interpreter/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
2023-10-02 22:43:55 +03:00
display-name: open-interpreter
2023-09-04 14:05:02 +03:00
versions:
github: KillianLucas/open-interpreter
dependencies:
2023-10-02 23:36:37 +03:00
python.org: '>=3.10<3.12'
2023-10-03 02:12:17 +03:00
github.com/mattrobenolt/jinja2-cli: '*'
2023-09-04 14:05:02 +03:00
build:
2023-10-12 20:50:27 +03:00
- 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/
2023-11-09 21:25:46 +03:00
if: <0.1.11
2023-09-04 14:05:02 +03:00
provides:
- bin/interpreter
test:
interpreter --help