From 92c8a8a2a9e952cc6c31fd87c12e7cc716b5f678 Mon Sep 17 00:00:00 2001 From: Dan Lorenc Date: Sun, 20 Aug 2023 15:25:08 -0400 Subject: [PATCH] Hello numpy, my old friend! Signed-off-by: Dan Lorenc --- numpy.yaml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 numpy.yaml diff --git a/numpy.yaml b/numpy.yaml new file mode 100644 index 00000000000..4c46fd76026 --- /dev/null +++ b/numpy.yaml @@ -0,0 +1,54 @@ +package: + name: numpy + version: 1.25.2 + epoch: 0 + description: "The fundamental package for scientific computing with Python." + copyright: + - license: BSD-3-Clause + +environment: + contents: + packages: + - wolfi-base + - busybox + - python3 + - build-base + - git + - bash + - meson + - cython + - python3-dev + - py3-gpep517 + - py3-packaging + - py3-setuptools + - py3-wheel + - gfortran + - py3-pip + - openblas-dev + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/numpy/numpy + tag: v${{package.version}} + expected-commit: ea677928332c37e8052b4d599bf6ee52cf363cf9 + + - runs: | + git submodule update --init + + - runs: | + python3 setup.py build + + - runs: | + python3 setup.py install --prefix=/usr --root="${{targets.destdir}}" + + - uses: strip + +update: + enabled: true + github: + identifier: numpy/numpy + # There are some v2 pre-releases + tag-filter: v1 + strip-prefix: v + strip-suffix: .dev0