mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f66fba226b
commit
9263cc1a6d
1 changed files with 10 additions and 7 deletions
|
@ -22,8 +22,7 @@ build:
|
|||
- bkpyvenv seal {{prefix}} pipenv
|
||||
|
||||
# create exec scripts for pipenv so it can auto install and use the pythons it wants
|
||||
- working-directory:
|
||||
${{prefix}}/bin
|
||||
- working-directory: ${{prefix}}/bin
|
||||
run: |
|
||||
v=3.6
|
||||
vMax=3.12 #FIXME determine dynamically or even script this in the shim
|
||||
|
@ -34,6 +33,10 @@ build:
|
|||
chmod +x python$v
|
||||
done
|
||||
|
||||
# needs libpython
|
||||
- run: cp -a {{deps.python.org.prefix}}/lib/libpython* .
|
||||
working-directory: ${{prefix}}/lib/
|
||||
|
||||
runtime:
|
||||
env:
|
||||
PIPENV_IGNORE_VIRTUALENVS: 1
|
||||
|
@ -44,18 +47,18 @@ test:
|
|||
|
||||
# changed to python3.8; 3.7 generates a lockfile resolver error
|
||||
- run: |
|
||||
source <(pkgx +python@3.8)
|
||||
pipenv --python 3.8
|
||||
pipenv --verbose install pycowsay
|
||||
pipenv run pycowsay "Hello World"
|
||||
working-directory:
|
||||
a
|
||||
working-directory: a
|
||||
|
||||
- run: |
|
||||
source <(pkgx +python@3.10)
|
||||
pipenv --python 3.10
|
||||
pipenv install pycowsay
|
||||
pipenv run pycowsay "Hello World"
|
||||
working-directory:
|
||||
b
|
||||
working-directory: b
|
||||
|
||||
provides:
|
||||
- bin/pipenv
|
||||
|
|
Loading…
Reference in a new issue