+mpmath.org (#5192)

* new file:   projects/mpmath.org/package.yml

* python.org: ~3.11

* remove symlinking
This commit is contained in:
Andrew 2024-02-15 18:20:41 +02:00 committed by GitHub
parent 77fdc32a2e
commit 241ded51c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,20 @@
distributable:
url: https://mpmath.org/files/mpmath-{{version}}.tar.gz
strip-components: 1
versions:
url: https://mpmath.org
match: /mpmath-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /^mpmath-/
- /\.tar\.gz$/
dependencies:
python.org: ~3.11
runtime:
env:
PYTHONPATH: ${{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH
build: python -m pip install --prefix={{prefix}} .
test: python -c 'import mpmath; print(mpmath.__version__)' | grep {{version}}