mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
552f990781
some runners have python
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
distributable:
|
|
# Make sure you're either building from a fully intact git repository or PyPI tarballs
|
|
url: git+https://github.com/kislyuk/argcomplete.git
|
|
ref: ${{version.tag}}
|
|
|
|
versions:
|
|
github: kislyuk/argcomplete
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: ${{prefix}}/venv/lib/python3/site-packages:$PYTHONPATH
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: ~3.12
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install setuptools wheel
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} activate-global-python-argcomplete register-python-argcomplete python-argcomplete-check-easy-install-script
|
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
working-directory: ${{prefix}}/venv/lib
|
|
|
|
provides:
|
|
- bin/activate-global-python-argcomplete
|
|
- bin/register-python-argcomplete
|
|
- bin/python-argcomplete-check-easy-install-script
|
|
|
|
test:
|
|
dependencies:
|
|
python.org: ^3
|
|
script:
|
|
- register-python-argcomplete foo | grep '_python_argcomplete foo'
|
|
- python -c 'import argcomplete;'
|