mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/pypa.io/distlib/package.yml
This commit is contained in:
parent
b6a5aa7dc7
commit
a7bc18cd7c
22
projects/pypa.io/distlib/package.yml
Normal file
22
projects/pypa.io/distlib/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
distributable:
|
||||
url: git+https://github.com/pypa/distlib.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: pypa/distlib
|
||||
|
||||
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 'from distlib.database import DistributionPath;'
|
||||
- python -c 'import distlib; print(distlib.__version__);' | grep {{version}}
|
Loading…
Reference in a new issue