summaryrefslogtreecommitdiff
path: root/python-fabio/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-fabio/PKGBUILD
parentadc8fff0989b8783bb022e68a87d1bf4b0d49d0a (diff)
downloadarchlinuxewe-efc22702de0ff7fa08783283555af19359eafe8b.tar.xz
recompile all python packages
Diffstat (limited to 'python-fabio/PKGBUILD')
-rw-r--r--python-fabio/PKGBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/python-fabio/PKGBUILD b/python-fabio/PKGBUILD
index 80857eee9..87feb9b05 100644
--- a/python-fabio/PKGBUILD
+++ b/python-fabio/PKGBUILD
@@ -5,11 +5,19 @@ pkgbase=python-fabio
pkgname=(python2-fabio python-fabio)
_pkgname=fabio
pkgver=0.7.0
-pkgrel=1
+pkgrel='2'
pkgdesc="I/O library for images produced by 2D X-ray detectors."
arch=('i686' 'x86_64')
url="http://www.silx.org"
license=('MIT' 'LGPL' 'Apache')
+_deppy2=(
+ 'python2>=2.7'
+ 'python2<2.8'
+)
+_deppy=(
+ 'python>=3.7'
+ 'python<3.8'
+)
_depends=(
'python-numpy'
'python-setuptools')
@@ -20,6 +28,8 @@ source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/silx-kit/${_pkgname}/a
sha512sums=('1ef84eb628f950d933db35335d2656c3385e07ede9bb833052661b8b6a5d39889889c9e58ddd3a5ccc3d3d0e7989c2b57942270142b6acca87d67ce7008a6fb4')
makedepends=(
+ "${_deppy[@]}"
+ "${_deppy2[@]}"
"${_depends[@]}"
"${_depends[@]//python/python2}"
"${_makedepends[@]}"
@@ -41,6 +51,7 @@ build() {
package_python2-fabio() {
depends=(
+ "${_deppy2[@]}"
"${_depends[@]//python/python2}"
)
optdepends=(
@@ -57,6 +68,7 @@ package_python2-fabio() {
package_python-fabio() {
depends=(
+ "${_deppy[@]}"
"${_depends[@]}"
)
optdepenends=(