[arch-commits] Commit in python-numpy/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 11 22:11:27 UTC 2021


    Date: Saturday, December 11, 2021 @ 22:11:27
  Author: felixonmars
Revision: 431907

archrelease: copy trunk to testing-x86_64

Added:
  python-numpy/repos/testing-x86_64/PKGBUILD
    (from rev 431906, python-numpy/trunk/PKGBUILD)
Deleted:
  python-numpy/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-11 22:11:17 UTC (rev 431906)
+++ PKGBUILD	2021-12-11 22:11:27 UTC (rev 431907)
@@ -1,45 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
-
-pkgname=python-numpy
-pkgver=1.21.3
-pkgrel=3
-pkgdesc="Scientific tools for Python"
-arch=('x86_64')
-license=('custom')
-url="https://www.numpy.org/"
-depends=('cblas' 'lapack' 'python')
-optdepends=('python-nose: testsuite'
-            'openblas: faster linear algebra')
-makedepends=('python-setuptools' 'gcc-fortran' 'python-nose' 'cython')
-checkdepends=('python-pytest' 'python-hypothesis')
-options=('staticlibs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz")
-sha512sums=('c27fba5bac9c3f2167de279921b0738198e925873a6cef486630554a7724ca58b95468817080ec1b01c1046e859e34adb4d4c8c3dde614216bc3da2290159c8a')
-
-prepare() {
-  # https://github.com/numpy/numpy/issues/17390
-  sed -i '/error/a \    ignore:Module already imported so cannot be rewritten' numpy-$pkgver/pytest.ini
-}
-
-build() {
-  cd numpy-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd numpy-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  cd "$PWD/tmp_install"
-  PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.10/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()'
-}
-
-package() {
-  cd numpy-$pkgver
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
-  install -m755 -d "${pkgdir}/usr/share/licenses/python-numpy"
-  install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-numpy/"
-}

Copied: python-numpy/repos/testing-x86_64/PKGBUILD (from rev 431906, python-numpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-11 22:11:27 UTC (rev 431907)
@@ -0,0 +1,45 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
+
+pkgname=python-numpy
+pkgver=1.21.4
+pkgrel=1
+pkgdesc="Scientific tools for Python"
+arch=('x86_64')
+license=('custom')
+url="https://www.numpy.org/"
+depends=('cblas' 'lapack' 'python')
+optdepends=('python-nose: testsuite'
+            'openblas: faster linear algebra')
+makedepends=('python-setuptools' 'gcc-fortran' 'python-nose' 'cython')
+checkdepends=('python-pytest' 'python-hypothesis')
+options=('staticlibs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz")
+sha512sums=('0e8fd63682ad6cb9d259554a5c619c6afdcd63ff5d5ce5eab04165710bdf50ca4a2831e172eb426c99d673f07d3f793019a500e7054bf307119e38a6e3348762')
+
+prepare() {
+  # https://github.com/numpy/numpy/issues/17390
+  sed -i '/error/a \    ignore:Module already imported so cannot be rewritten' numpy-$pkgver/pytest.ini
+}
+
+build() {
+  cd numpy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd numpy-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  cd "$PWD/tmp_install"
+  PATH="$PWD/usr/bin:$PATH" PYTHONPATH="$PWD/usr/lib/python3.10/site-packages:$PYTHONPATH" python -c 'import numpy; numpy.test()'
+}
+
+package() {
+  cd numpy-$pkgver
+  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/python-numpy"
+  install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-numpy/"
+}



More information about the arch-commits mailing list