summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTobias Bachmann2017-11-06 12:43:28 +0100
committerTobias Bachmann2017-11-06 12:43:28 +0100
commit1cc5860c23a689217b82068bd8d22885b909c485 (patch)
tree1bc3096b0df127e1f6535e6e2b9ddbcbb5bb34ec /PKGBUILD
parent8fd51b794b569b7e54ddea9b763fc5c1d594912d (diff)
downloadaur-1cc5860c23a689217b82068bd8d22885b909c485.tar.gz
Patched for scipy 1.0 support
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9b01b46d66f3..9160b1027a4a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fsleyes
pkgver=0.16.0
-pkgrel=2
+pkgrel=3
pkgdesc="FSLeyes is the FSL image viewer"
arch=('any')
url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes"
@@ -21,6 +21,9 @@ sha256sums=('950c3f150d09bdf965a15f6e9c0c68c857227f87ee489e3a020c721769313f3f'
package() {
cd "$srcdir/$pkgname-$pkgver-"*
+ # "Patching" for scipy 1.0 support
+ sed -i 's/scipy==0\.\*/scipy/g' requirements.txt
+
python setup.py install --root="$pkgdir/" --optimize=1
cd "$startdir"