mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
22 lines
565 B
YAML
22 lines
565 B
YAML
|
distributable:
|
||
|
url: git+https://github.com/pypa/packaging.git
|
||
|
ref: ${{version.tag}}
|
||
|
|
||
|
versions:
|
||
|
github: pypa/packaging
|
||
|
|
||
|
dependencies:
|
||
|
python.org: '>=3.11'
|
||
|
|
||
|
runtime:
|
||
|
env:
|
||
|
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH
|
||
|
|
||
|
build:
|
||
|
- python -m pip install --prefix={{prefix}} .
|
||
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
||
|
working-directory: ${{prefix}}/lib
|
||
|
|
||
|
test:
|
||
|
- python -c 'import packaging; print(packaging.__version__);' | grep {{version.tag}}
|