From 283513420a20fc65d090277846a0805f221cb23a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 28 Dec 2025 11:55:55 +0200 Subject: [PATCH] Update package version to 2.4.0 --- pkg.info | 7 ++++++- source.sh | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 909f23c..4e6eb05 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: python-numpy description: The fundamental package for scientific computing with Python -version: 2.3.5 +version: 2.4.0 revision: 1 url: https://numpy.org/ license: BSD-3-Clause @@ -15,3 +15,8 @@ make_depends: - meson-python - python-build - python-installer +downloads: + - url: https://github.com/numpy/numpy/releases/download/v${BPM_PKG_VERSION}/numpy-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 6e504f7b16118198f138ef31ba24d985b124c2c469fe8467007cf30fd992f934 diff --git a/source.sh b/source.sh index 7513ba4..2ec69a1 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/numpy/numpy/releases/download/v${BPM_PKG_VERSION}/numpy-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {