From edd091ef314af70568bd66390a42d8edb5ef9093 Mon Sep 17 00:00:00 2001 From: Batuhan Apaydin Date: Mon, 21 Aug 2023 22:05:07 +0300 Subject: [PATCH] add scipy Signed-off-by: Batuhan Apaydin --- py3-scipy.yaml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 py3-scipy.yaml diff --git a/py3-scipy.yaml b/py3-scipy.yaml new file mode 100644 index 00000000000..90d57e3d768 --- /dev/null +++ b/py3-scipy.yaml @@ -0,0 +1,53 @@ +package: + name: py3-scipy + version: 1.11.2 + epoch: 0 + description: Fundamental algorithms for scientific computing in Python + copyright: + - license: BSD-3-Clause + dependencies: + runtime: + - numpy + - python3 + +environment: + contents: + packages: + - ca-certificates-bundle + - wolfi-base + - busybox + - build-base + - python3 + - python3-dev + - py3-setuptools + - numpy + - py3-pybind11 + - py3-pip + - cython + - openblas-dev + - py3-pythran + - gfortran + - f2py + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/scipy/scipy + expected-commit: 686422c4f0a71be1b4258309590fd3e9de102e18 + tag: v${{package.version}} + + - runs: git submodule update --init + + - name: Python Build + runs: python _setup.py build + + - name: Python Install + runs: python _setup.py install --prefix=/usr --root="${{targets.destdir}}" + + - uses: strip + +update: + enabled: true + github: + identifier: scipy/scipy + strip-prefix: v