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

Felix Yan felixonmars at archlinux.org
Mon Nov 5 17:31:54 UTC 2018


    Date: Monday, November 5, 2018 @ 17:31:54
  Author: felixonmars
Revision: 337885

archrelease: copy trunk to extra-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-05 17:31:24 UTC (rev 337884)
+++ PKGBUILD	2018-11-05 17:31:54 UTC (rev 337885)
@@ -1,75 +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> 
-
-pkgbase=python-numpy
-pkgname=('python-numpy' 'python2-numpy')
-pkgver=1.15.3
-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=('9c8125e5d1ede6bb700243909db6c2bd4e9dc5889ec461972985cb77d19890cd254047245a7b3826477ab222c21a6c27333a6d110117baa4df9c10e4eb701668')
-
-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/extra-x86_64/PKGBUILD (from rev 337884, python-numpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-05 17:31:54 UTC (rev 337885)
@@ -0,0 +1,75 @@
+# 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> 
+
+pkgbase=python-numpy
+pkgname=('python-numpy' 'python2-numpy')
+pkgver=1.15.4
+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=('2cb375b5cec4b9fbf6f65fb79eb81429af3e1e6aefa5e39cafeee7d9ecd8046647ccc97129170069e583327601b9cfba562be3720dc5cb2bdc2216ac6eb6d690')
+
+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/"
+}



More information about the arch-commits mailing list