mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
1dd4e4cdcd
* fix(+python-poetry.org): use `version` variable in url * minimize diff * one more * last one --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
37 lines
790 B
YAML
37 lines
790 B
YAML
distributable:
|
|
url: https://github.com/python-poetry/poetry/releases/download/{{version}}/poetry-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: python-poetry/poetry
|
|
|
|
dependencies:
|
|
python.org: 3
|
|
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
linux/x86-64:
|
|
tea.xyz/gx/make: '*' # for ninja module
|
|
tea.xyz/gx/cc: c99 # ^^
|
|
linux:
|
|
rust-lang.org/cargo: '*' # for cryptographic bindings
|
|
script:
|
|
python-venv.sh {{prefix}}/bin/poetry
|
|
|
|
test:
|
|
script: |
|
|
poetry new teaxyz
|
|
cd teaxyz
|
|
poetry config virtualenvs.in-project true
|
|
poetry add requests
|
|
poetry add boto3
|
|
|
|
test -f pyproject.toml
|
|
test -f poetry.lock
|
|
env:
|
|
LC_ALL: en_US.UTF-8
|
|
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
|
|
|
|
provides:
|
|
- bin/poetry
|