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

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 16 12:55:13 UTC 2021


    Date: Monday, August 16, 2021 @ 12:55:13
  Author: felixonmars
Revision: 422276

archrelease: copy trunk to testing-x86_64

Added:
  python-numpy/repos/testing-x86_64/PKGBUILD
    (from rev 422275, 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-08-16 12:55:01 UTC (rev 422275)
+++ PKGBUILD	2021-08-16 12:55:13 UTC (rev 422276)
@@ -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.1
-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=('bfbe77d231138c99bf40a4a725303be00152442952b656c48a7e2a1005065dfbb201d070d1102c5e136c2a80acd7d655c6efe715f7a8d19531665c5fe370755a')
-
-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.9/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 422275, python-numpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-16 12:55:13 UTC (rev 422276)
@@ -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.2
+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=('f7a030c75deb759cb3982a0f4a162b5689a4af316e5f503ce714002f466be42035346683294da7dd16ef0526adb36a76dd0d6adad3cef53c0655e48c17b64b0a')
+
+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.9/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