mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+poetry (#93)
This commit is contained in:
parent
6b134202fe
commit
8990e65f69
1 changed files with 38 additions and 0 deletions
38
projects/python-poetry.org/package.yml
Normal file
38
projects/python-poetry.org/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
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
|
||||||
|
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in a new issue