Update package version to 2.4.0

This commit is contained in:
2025-12-28 11:55:55 +02:00
parent 252dd2b46f
commit 283513420a
2 changed files with 6 additions and 11 deletions
+6 -1
View File
@@ -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
-10
View File
@@ -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() {