summaryrefslogtreecommitdiff
path: root/python-silx/PKGBUILD
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-silx/PKGBUILD
parentadc8fff0989b8783bb022e68a87d1bf4b0d49d0a (diff)
downloadarchlinuxewe-efc22702de0ff7fa08783283555af19359eafe8b.tar.xz
recompile all python packages
Diffstat (limited to 'python-silx/PKGBUILD')
-rw-r--r--python-silx/PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/python-silx/PKGBUILD b/python-silx/PKGBUILD
index 71605cf7e..99241e7de 100644
--- a/python-silx/PKGBUILD
+++ b/python-silx/PKGBUILD
@@ -5,11 +5,19 @@ pkgbase=python-silx
pkgname=(python2-silx python-silx)
_pkgname=silx
pkgver=0.8.0
-pkgrel=1
+pkgrel='2'
pkgdesc="A collection of Python packages for data analysis at synchrotron radiation facilities."
arch=('i686' 'x86_64')
url="http://www.silx.org"
license=('MIT' 'LGPL')
+_deppy2=(
+ 'python2>=2.7'
+ 'python2<2.8'
+)
+_deppy=(
+ 'python>=3.7'
+ 'python<3.8'
+)
_depends=('python-numpy' 'python-pyqt5' 'python-matplotlib')
_optdepends=('python-h5py: for HDF5 input/output'
'ipython: for interactive console'
@@ -21,6 +29,8 @@ source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/a
sha256sums=('991250e242d4be6b5e6eae4d9267b5ba1e70d3abdd2aa4244bd55ce0fe4d0a49')
makedepends=(
+ "${_deppy[@]}"
+ "${_deppy2[@]}"
"${_depends[@]}"
"${_depends[@]//python/python2}"
"${_makedepends[@]}"
@@ -42,6 +52,7 @@ build() {
package_python2-silx() {
depends=(
+ "${_deppy2[@]}"
"${_depends[@]//python/python2}"
)
optdepends=(
@@ -59,6 +70,7 @@ package_python2-silx() {
package_python-silx() {
depends=(
+ "${_deppy[@]}"
"${_depends[@]}"
)
optdepenends=(