mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
distributable:
|
|
url: https://github.com/Significant-Gravitas/Auto-GPT/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: Auto-GPT
|
|
|
|
versions:
|
|
github: Significant-Gravitas/Auto-GPT
|
|
|
|
platforms:
|
|
- darwin
|
|
|
|
entrypoint: tea ./entrypoint.sh
|
|
|
|
dependencies:
|
|
python.org: '>=3.10<3.12'
|
|
redis.io: ^7
|
|
tea.xyz: ^0
|
|
|
|
build:
|
|
script:
|
|
# `pip install` seems to miss some vital .json files, so we must manually copy
|
|
# we copy everything as we're not 100% sure which files are missing
|
|
# we do this first so any file movements from `pip install` takes precedence
|
|
- run: cp -R $SRCROOT/autogpt .
|
|
working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages
|
|
|
|
- python-venv.py {{prefix}}/bin/auto-gpt --requirements-txt
|
|
|
|
# still pretty new and thus provides no executable, so we made one
|
|
- cp props/auto-gpt {{prefix}}/venv/bin
|
|
|
|
- working-directory: '{{prefix}}/share'
|
|
run: |
|
|
cp $SRCROOT/.env.template env.template
|
|
cp $SRCROOT/prompt_settings.yaml .
|
|
|
|
- cp props/entrypoint.sh {{prefix}}
|
|
|
|
provides:
|
|
- bin/auto-gpt
|
|
|
|
test:
|
|
qa-required: true
|
|
script: auto-gpt --help
|