diff options
author | Erich Eckner <git@eckner.net> | 2019-08-02 10:17:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-02 10:17:15 +0200 |
commit | d9282f3c03d95da2b66168265a16b42867b24148 (patch) | |
tree | 276bb82c8ac437d0a73b2a22f0c121579da9ca46 /python-pyfai | |
parent | fe0de99baa7cc5b5aea951b6f3e49551bd5c4037 (diff) | |
download | archlinuxewe-d9282f3c03d95da2b66168265a16b42867b24148.tar.xz |
python-pyfai: rebuild
Diffstat (limited to 'python-pyfai')
-rw-r--r-- | python-pyfai/PKGBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/python-pyfai/PKGBUILD b/python-pyfai/PKGBUILD index 0d085e008..2725e6d22 100644 --- a/python-pyfai/PKGBUILD +++ b/python-pyfai/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=python-pyfai pkgname=(python2-pyfai python-pyfai) _pkgname=pyFAI pkgver=0.18.0 -pkgrel=2 +pkgrel=3 pkgdesc="Fast Azimuthal Integration in Python." arch=('i686' 'pentium4' 'x86_64') url="http://www.silx.org" @@ -23,14 +23,20 @@ _depends=( 'cython' 'python-fabio' 'python-h5py' + 'python-ipympl' 'python-matplotlib' 'python-numexpr' 'python-numpy' + 'python-opengl' + 'python-pyopencl' 'python-scipy' 'python-silx') _makedepends=( 'cython' 'python-setuptools') +checkdepends=( + 'xorg-server-xvfb' +) _optdepends=() source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('046b7c7830b7e95b2a974133dfb17c442691255689ef250141c9435d3aa07970f9221d4f10425bde3a3eb79110da659c8e518b478855397c6df5ef4a9c877d8d') @@ -57,11 +63,18 @@ build() { python setup.py build } +check() { + cd "${srcdir}/py2-${_pkgname}-${pkgver}" + xvfb-run python2 setup.py test + + cd "${srcdir}/py-${_pkgname}-${pkgver}" + xvfb-run python setup.py test +} + package_python2-pyfai() { depends=( "${_deppy2[@]}" "${_depends[@]//python/python2}" - 'python2-ipympl' ) optdepends=( "${_optdepends[@]//python/python2}" @@ -81,7 +94,6 @@ package_python-pyfai() { depends=( "${_deppy[@]}" "${_depends[@]}" - 'python-ipympl' ) optdepends=( "${_optdepends[@]}" |