mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/github.com/platformdirs/platformdirs/package.yml
This commit is contained in:
parent
b2bd959775
commit
565b12a260
21
projects/github.com/platformdirs/platformdirs/package.yml
Normal file
21
projects/github.com/platformdirs/platformdirs/package.yml
Normal 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}}
|
Loading…
Reference in a new issue