From 4a1136f16b1b14330bce19639eb4a288d822fd13 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Tue, 23 Jan 2024 21:19:14 +0200 Subject: [PATCH] new file: projects/sympy.org/package.yml --- projects/sympy.org/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/sympy.org/package.yml diff --git a/projects/sympy.org/package.yml b/projects/sympy.org/package.yml new file mode 100644 index 00000000..3a7ca938 --- /dev/null +++ b/projects/sympy.org/package.yml @@ -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}} \ No newline at end of file