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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 16:55:29
  Author: felixonmars
Revision: 399835

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/
  python-numpy/repos/staging-x86_64/PKGBUILD
(from rev 399834, python-numpy/trunk/PKGBUILD)

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

Copied: python-numpy/repos/staging-x86_64/PKGBUILD (from rev 399834, 
python-numpy/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-09 16:55:29 UTC (rev 399835)
@@ -0,0 +1,45 @@
+# Maintainer: Jan de Groot 
+# Maintainer: Felix Yan 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: Angel 'angvp' Velasquez  
+
+pkgname=python-numpy
+pkgver=1.19.4
+pkgrel=2
+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=('369790f3a2dc91156c15f3b6502615ef40a2f0973a80ffdadfcd28a6e7971997d6ba5c146299e76ee0ec1776799a03c6fa185e64b38abea9475c452aebe1e07a')
+
+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/"
+}


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

2019-11-02 Thread Felix Yan via arch-commits
Date: Saturday, November 2, 2019 @ 22:36:08
  Author: felixonmars
Revision: 366513

archrelease: copy trunk to staging-x86_64

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

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-11-02 22:35:53 UTC (rev 366512)
+++ PKGBUILD2019-11-02 22:36:08 UTC (rev 366513)
@@ -1,42 +0,0 @@
-# Maintainer: Jan de Groot 
-# Maintainer: Felix Yan 
-# Contributor: Douglas Soares de Andrade 
-# Contributor: Angel 'angvp' Velasquez  
-
-pkgname=python-numpy
-pkgver=1.17.3
-pkgrel=2
-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')
-options=('staticlibs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
-sha512sums=('9ef67d993b5d2be0ba9a9247e10b86f9e0b07c185beadcbf89e1ac0c85f0f1d25471f2a4cfb45fc9749c3afc178bd59099214ab3d5fe41d772fc5f4b5cf4d5df')
-
-build() {
-  cd numpy-$pkgver
-  python setup.py build
-}
-
-check() {
-  # TODO: Fix fortran tests here (it works fine after installation)
-
-  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.8/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/staging-x86_64/PKGBUILD (from rev 366512, 
python-numpy/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-11-02 22:36:08 UTC (rev 366513)
@@ -0,0 +1,42 @@
+# Maintainer: Jan de Groot 
+# Maintainer: Felix Yan 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: Angel 'angvp' Velasquez  
+
+pkgname=python-numpy
+pkgver=1.17.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')
+options=('staticlibs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
+sha512sums=('9ef67d993b5d2be0ba9a9247e10b86f9e0b07c185beadcbf89e1ac0c85f0f1d25471f2a4cfb45fc9749c3afc178bd59099214ab3d5fe41d772fc5f4b5cf4d5df')
+
+build() {
+  cd numpy-$pkgver
+  python setup.py build
+}
+
+check() {
+  # TODO: Fix fortran tests here (it works fine after installation)
+
+  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.8/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/"
+}


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 04:39:22
  Author: foutrelis
Revision: 365784

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/
  python-numpy/repos/staging-x86_64/PKGBUILD
(from rev 365783, python-numpy/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: python-numpy/repos/staging-x86_64/PKGBUILD (from rev 365783, 
python-numpy/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-26 04:39:22 UTC (rev 365784)
@@ -0,0 +1,42 @@
+# Maintainer: Jan de Groot 
+# Maintainer: Felix Yan 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: Angel 'angvp' Velasquez  
+
+pkgname=python-numpy
+pkgver=1.17.3
+pkgrel=2
+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')
+options=('staticlibs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
+sha512sums=('9ef67d993b5d2be0ba9a9247e10b86f9e0b07c185beadcbf89e1ac0c85f0f1d25471f2a4cfb45fc9749c3afc178bd59099214ab3d5fe41d772fc5f4b5cf4d5df')
+
+build() {
+  cd numpy-$pkgver
+  python setup.py build
+}
+
+check() {
+  # TODO: Fix fortran tests here (it works fine after installation)
+
+  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.8/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/"
+}


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

2018-07-24 Thread Felix Yan via arch-commits
Date: Tuesday, July 24, 2018 @ 09:58:45
  Author: felixonmars
Revision: 329509

archrelease: copy trunk to staging-x86_64

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

--+
 PKGBUILD |  156 +++--
 1 file changed, 80 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-07-24 09:58:29 UTC (rev 329508)
+++ PKGBUILD2018-07-24 09:58:45 UTC (rev 329509)
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot 
-# Maintainer: Felix Yan 
-# Contributor: Douglas Soares de Andrade 
-# Contributor: Angel 'angvp' Velasquez  
-
-pkgbase=python-numpy
-pkgname=('python-numpy' 'python2-numpy')
-pkgver=1.15.0
-pkgrel=1
-pkgdesc="Scientific tools for Python"
-arch=('x86_64')
-license=('custom')
-url="http://www.numpy.org/;
-makedepends=('cblas' 'lapack' 'python' 'python2' 'python-setuptools' 
'python2-setuptools' 'gcc-fortran'
- 'python-nose' 'python2-nose' 'cython' 'cython2')
-checkdepends=('python-pytest' 'python2-pytest')
-options=('staticlibs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
-sha512sums=('1ee1c6cdf4ae287f1a0e7c49533c143c5842817cd92681cf72507f32904866de2e1fdca648f09fdca9fae391c78cebdd9a32a7116ff10ca3887f6f5ab18763b2')
-
-prepare() {
-  cp -a numpy-$pkgver{,-py2}
-  cd numpy-$pkgver-py2
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-  -i $(find . -name '*.py')
-}
-
-build() {
-  cd "$srcdir"/numpy-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/numpy-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # TODO: Fix fortran tests here (it works fine after installation)
-
-  cd "$srcdir"/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.7/site-packages:$PYTHONPATH" python -c 'import 
numpy; numpy.test()'
-
-  cd "$srcdir"/numpy-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  cd "$PWD/tmp_install"
-  PATH="$PWD/usr/bin:$PATH" 
PYTHONPATH="$PWD/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 -c 
'import numpy; numpy.test()'
-}
-
-package_python-numpy() {
-  depends=('cblas' 'lapack' 'python')
-  optdepends=('python-nose: testsuite'
-  'openblas: faster linear algebra')
-
-  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/"
-}
-
-package_python2-numpy() {
-  depends=('cblas' 'lapack' 'python2')
-  optdepends=('python2-nose: testsuite'
-  'openblas: faster linear algebra')
-
-  cd numpy-$pkgver-py2
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
-  install -m755 -d "${pkgdir}/usr/share/licenses/python2-numpy"
-  install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-numpy/"
-}

Copied: python-numpy/repos/staging-x86_64/PKGBUILD (from rev 329508, 
python-numpy/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-07-24 09:58:45 UTC (rev 329509)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Jan de Groot 
+# Maintainer: Felix Yan 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: Angel 'angvp' Velasquez  
+
+pkgbase=python-numpy
+pkgname=('python-numpy' 'python2-numpy')
+pkgver=1.15.0
+pkgrel=2
+pkgdesc="Scientific tools for Python"
+arch=('x86_64')
+license=('custom')
+url="http://www.numpy.org/;
+makedepends=('cblas' 'lapack' 'python' 'python2' 'python-setuptools' 
'python2-setuptools' 'gcc-fortran'
+ 'python-nose' 'python2-nose' 'cython' 'cython2')
+checkdepends=('python-pytest' 'python2-pytest')
+options=('staticlibs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
+sha512sums=('1ee1c6cdf4ae287f1a0e7c49533c143c5842817cd92681cf72507f32904866de2e1fdca648f09fdca9fae391c78cebdd9a32a7116ff10ca3887f6f5ab18763b2')
+
+prepare() {
+  cp -a numpy-$pkgver{,-py2}
+  cd numpy-$pkgver-py2
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "$srcdir"/numpy-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/numpy-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # TODO: Fix fortran tests here (it works fine after installation)
+
+  cd "$srcdir"/numpy-$pkgver
+  python setup.py install --root="$PWD/tmp_install" 

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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 06:03:41
  Author: felixonmars
Revision: 327801

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/
  python-numpy/repos/staging-x86_64/PKGBUILD
(from rev 327800, python-numpy/trunk/PKGBUILD)

--+
 PKGBUILD |   75 +
 1 file changed, 75 insertions(+)

Copied: python-numpy/repos/staging-x86_64/PKGBUILD (from rev 327800, 
python-numpy/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-30 06:03:41 UTC (rev 327801)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Jan de Groot 
+# Maintainer: Felix Yan 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: Angel 'angvp' Velasquez  
+
+pkgbase=python-numpy
+pkgname=('python-numpy' 'python2-numpy')
+pkgver=1.14.5
+pkgrel=2
+pkgdesc="Scientific tools for Python"
+arch=('x86_64')
+license=('custom')
+url="http://www.numpy.org/;
+makedepends=('cblas' 'lapack' 'python' 'python2' 'python-setuptools' 
'python2-setuptools' 'gcc-fortran'
+ 'python-nose' 'python2-nose' 'cython' 'cython2')
+options=('staticlibs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/numpy/numpy/archive/v$pkgver.tar.gz;)
+sha512sums=('7826b0a9913873efd8b06e0898e0714dc2eb11a224761569b258bf8df7127c20b69626bc19978054859a30953e2c54de3d4180bbd90663b07ab8482594c50374')
+
+prepare() {
+  cp -a numpy-$pkgver{,-py2}
+  cd numpy-$pkgver-py2
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+  -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+  -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+  -i $(find . -name '*.py')
+}
+
+build() {
+  cd "$srcdir"/numpy-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/numpy-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # TODO: Fix fortran tests here (it works fine after installation)
+
+  cd "$srcdir"/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.7/site-packages:$PYTHONPATH" python -c 'import 
numpy; numpy.test()'
+
+  cd "$srcdir"/numpy-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  cd "$PWD/tmp_install"
+  PATH="$PWD/usr/bin:$PATH" 
PYTHONPATH="$PWD/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 -c 
'import numpy; numpy.test()'
+}
+
+package_python-numpy() {
+  depends=('cblas' 'lapack' 'python')
+  optdepends=('python-nose: testsuite'
+  'openblas: faster linear algebra')
+
+  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/"
+}
+
+package_python2-numpy() {
+  depends=('cblas' 'lapack' 'python2')
+  optdepends=('python2-nose: testsuite'
+  'openblas: faster linear algebra')
+
+  cd numpy-$pkgver-py2
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/python2-numpy"
+  install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-numpy/"
+}


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

2011-07-14 Thread Stéphane Gaudreault
Date: Thursday, July 14, 2011 @ 07:09:56
  Author: stephane
Revision: 131740

db-move: moved python-numpy from [staging] to [testing] (x86_64)

Added:
  python-numpy/repos/testing-x86_64/
Deleted:
  python-numpy/repos/staging-x86_64/



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

2011-07-13 Thread Stéphane Gaudreault
Date: Wednesday, July 13, 2011 @ 09:42:09
  Author: stephane
Revision: 131670

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/



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

2011-02-23 Thread Stéphane Gaudreault
Date: Wednesday, February 23, 2011 @ 13:48:30
  Author: stephane
Revision: 111053

db-move: moved python-numpy from [staging] to [testing] (x86_64)

Added:
  python-numpy/repos/testing-x86_64/
Deleted:
  python-numpy/repos/staging-x86_64/



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

2011-02-21 Thread Stéphane Gaudreault
Date: Monday, February 21, 2011 @ 07:18:58
  Author: stephane
Revision: 110672

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/



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

2010-10-04 Thread Allan McRae
Date: Monday, October 4, 2010 @ 06:59:18
  Author: allan
Revision: 93985

db-move: moved python-numpy from [staging] to [testing] (x86_64)

Added:
  python-numpy/repos/testing-x86_64/
Deleted:
  python-numpy/repos/staging-x86_64/



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

2010-08-29 Thread Rémy Oudompheng
Date: Sunday, August 29, 2010 @ 13:34:51
  Author: remy
Revision: 89187

archrelease: copy trunk to staging-x86_64

Added:
  python-numpy/repos/staging-x86_64/