summaryrefslogtreecommitdiff
path: root/python-pyfai
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-08-07 08:05:47 +0200
committerErich Eckner <git@eckner.net>2018-08-07 08:08:20 +0200
commitefc22702de0ff7fa08783283555af19359eafe8b (patch)
tree445c8511b65f62a649a4128868720eea497f100d /python-pyfai
parentadc8fff0989b8783bb022e68a87d1bf4b0d49d0a (diff)
downloadarchlinuxewe.git.save-efc22702de0ff7fa08783283555af19359eafe8b.tar.xz
recompile all python packages
Diffstat (limited to 'python-pyfai')
-rw-r--r--python-pyfai/PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/python-pyfai/PKGBUILD b/python-pyfai/PKGBUILD
index 7b321fd2..69b9efe2 100644
--- a/python-pyfai/PKGBUILD
+++ b/python-pyfai/PKGBUILD
@@ -5,11 +5,19 @@ pkgbase=python-pyfai
pkgname=(python2-pyfai python-pyfai)
_pkgname=pyFAI
pkgver=0.15.0
-pkgrel=1
+pkgrel='2'
pkgdesc="Fast Azimuthal Integration in Python."
arch=('i686' 'x86_64')
url="http://www.silx.org"
license=('GPLv3' 'BSD' 'MIT')
+_deppy2=(
+ 'python2>=2.7'
+ 'python2<2.8'
+)
+_deppy=(
+ 'python>=3.7'
+ 'python<3.8'
+)
_depends=('python-numpy' 'python-scipy' 'python-matplotlib' 'python-fabio'
'python-h5py' 'python-pyopencl' 'python-pyqt5' 'fftw' 'opencl-driver')
_makedepends=('cython')
@@ -18,6 +26,8 @@ source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/a
sha256sums=('d72ae3b81ee4350e3768fd9ddc7a03ede4e33dbccddcba449cf1d563757c4726')
makedepends=(
+ "${_deppy[@]}"
+ "${_deppy2[@]}"
"${_depends[@]}"
"${_depends[@]//python/python2}"
"${_makedepends[@]}"
@@ -39,6 +49,7 @@ build() {
package_python2-pyfai() {
depends=(
+ "${_deppy2[@]}"
"${_depends[@]//python/python2}"
)
optdepends=(
@@ -57,6 +68,7 @@ package_python2-pyfai() {
package_python-pyfai() {
depends=(
+ "${_deppy[@]}"
"${_depends[@]}"
)
optdepends=(