[arch-commits] Commit in python-numpy/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 6 13:57:05 UTC 2021
Date: Wednesday, January 6, 2021 @ 13:57:05
Author: felixonmars
Revision: 405401
archrelease: copy trunk to extra-x86_64
Added:
python-numpy/repos/extra-x86_64/PKGBUILD
(from rev 405400, python-numpy/trunk/PKGBUILD)
Deleted:
python-numpy/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-06 13:56:51 UTC (rev 405400)
+++ PKGBUILD 2021-01-06 13:57:05 UTC (rev 405401)
@@ -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.19.4
-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=('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/"
-}
Copied: python-numpy/repos/extra-x86_64/PKGBUILD (from rev 405400, python-numpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-06 13:57:05 UTC (rev 405401)
@@ -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.19.5
+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=('9e5d17da7dcdad91ba2238efca00b803897854b6523ab24f39641a14337cd1c6a566adc14242ac9c0297f9e337a57367c0d95f304ee40f75c51c31d35aa57996')
+
+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