mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/sympy.org/package.yml
This commit is contained in:
parent
3921ce4cc0
commit
4a1136f16b
1 changed files with 21 additions and 0 deletions
21
projects/sympy.org/package.yml
Normal file
21
projects/sympy.org/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
distributable:
|
||||
url: git+https://github.com/sympy/sympy.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: sympy/sympy
|
||||
strip: /^sympy-/
|
||||
|
||||
dependencies:
|
||||
python.org: '>=3.11'
|
||||
|
||||
runtime:
|
||||
env:
|
||||
PYTHONPATH: $PYTHONPATH:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages
|
||||
|
||||
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 sympy as sp; print(sp.__version__)' | grep {{version.raw}}
|
Loading…
Reference in a new issue