From 241ded51c5fc0c40541613a72cf60877ff6cd063 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:20:41 +0200 Subject: [PATCH] +mpmath.org (#5192) * new file: projects/mpmath.org/package.yml * python.org: ~3.11 * remove symlinking --- projects/mpmath.org/package.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 projects/mpmath.org/package.yml diff --git a/projects/mpmath.org/package.yml b/projects/mpmath.org/package.yml new file mode 100644 index 00000000..ef92e183 --- /dev/null +++ b/projects/mpmath.org/package.yml @@ -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}}