summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rwxr-xr-xPKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17607826446a..4ded78fc3fa1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,6 +14,8 @@ pkgbase = python-numpy1.22
depends = lapack
depends = python
optdepends = openblas: faster linear algebra
+ provides = python-numpy
+ conflicts = python-numpy
options = staticlibs
source = https://github.com/numpy/numpy/releases/download/v1.22.4/numpy-1.22.4.tar.gz
sha512sums = 4415c6a96af625fcc7fe5395b1441c389fbe4a9b97b18e87ffa063609245f4b352e0b623f96bbacd3d0939fdc86fd79009bf09b1ee0004c13e3d05af298d8f10
diff --git a/PKGBUILD b/PKGBUILD
index e6d2c22d0ef6..fa67727e4dda 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,8 @@ optdepends=('openblas: faster linear algebra')
makedepends=('python-setuptools' 'gcc-fortran' 'cython')
checkdepends=('python-pytest' 'python-hypothesis')
options=('staticlibs')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
source=("https://github.com/numpy/numpy/releases/download/v$pkgver/numpy-$pkgver.tar.gz")
sha512sums=('4415c6a96af625fcc7fe5395b1441c389fbe4a9b97b18e87ffa063609245f4b352e0b623f96bbacd3d0939fdc86fd79009bf09b1ee0004c13e3d05af298d8f10')