pantry/projects/sympy.org/package.yml
2024-01-23 14:33:41 -05:00

21 lines
No EOL
566 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:
- 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}}