new file: projects/github.com/platformdirs/platformdirs/package.yml

This commit is contained in:
Andrii Riabchenko 2024-01-29 17:22:16 +02:00 committed by Jacob Heider
parent b2bd959775
commit 565b12a260

View file

@ -0,0 +1,21 @@
distributable:
url: git+https://github.com/platformdirs/platformdirs.git
ref: ${{version.tag}}
versions:
github: platformdirs/platformdirs
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 platformdirs; print(platformdirs.__version__)' | grep {{version}}