summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Bachmann2018-10-30 09:07:39 +0100
committerTobias Bachmann2018-10-30 09:07:39 +0100
commit029300addba5623c4e17bff7ae38a92524282022 (patch)
tree274edb9e3e65204e2623c93702ca6525933ea4c0
parentb7e6ee530b77872e699f7c26f2bc7b38df9b81be (diff)
downloadaur-029300addba5623c4e17bff7ae38a92524282022.tar.gz
Patching for matplotlib>3.0.0 support
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ce04bf04080..23832d7e1012 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fsleyes-widgets
pkgdesc = FSLeyes is the FSL image viewer, widgets is one of its dependent projects
pkgver = 0.7.0
- pkgrel = 1
+ pkgrel = 2
url = https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 83d3bdcd1c61..6cae6ce6ab1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fsleyes-widgets
pkgver=0.7.0
-pkgrel=1
+pkgrel=2
pkgdesc="FSLeyes is the FSL image viewer, widgets is one of its dependent projects"
arch=('any')
url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes"
@@ -20,5 +20,7 @@ package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
# "Patching" for deprecation 2.x support
sed -i 's/deprecation>=1\.\*,<=2\.\*/deprecation>=1\.\*/g' requirements.txt
+ # "Patching" for matplotlib>3 support
+ sed -i 's/matplotlib>=1\.5,<3/matplotlib>=1\.5/g' requirements.txt
python setup.py install --root="$pkgdir/" --optimize=1
}