pantry/projects/python-poetry.org/package.yml
Max Howell e74ac09899 +pipx
2023-02-14 15:24:05 -05:00

37 lines
778 B
YAML

distributable:
url: https://github.com/python-poetry/poetry/releases/download/1.3.1/poetry-1.3.1.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