new file: projects/pypa.io/packaging/package.yml

This commit is contained in:
Andrii Riabchenko 2024-01-25 22:30:47 +02:00 committed by Jacob Heider
parent a7bc18cd7c
commit 594adc8e06

View file

@ -0,0 +1,21 @@
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}}