mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
687f41273b
closes #6262
24 lines
701 B
YAML
24 lines
701 B
YAML
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:
|
|
# versions not updated
|
|
- run: sed -i 's/__version__ =.*/__version__ = "{{version.raw}}"/' release.py
|
|
working-directory: sympy
|
|
- 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}}
|