diff options
author | Tobias Bachmann | 2018-05-14 11:55:32 +0200 |
---|---|---|
committer | Tobias Bachmann | 2018-05-14 11:55:32 +0200 |
commit | 56c9a93745466eba06be2a5e7969563cfe82ba16 (patch) | |
tree | c13af67bec1ab7eb7c39286b087cc9005b565b2a | |
parent | 625100ce48426e611541a14613508a32c1fc48e4 (diff) | |
download | aur-56c9a93745466eba06be2a5e7969563cfe82ba16.tar.gz |
python-deprecation 2.x support
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = fsleyes-widgets pkgdesc = FSLeyes is the FSL image viewer, widgets is one of its dependent projects pkgver = 0.6.0 - pkgrel = 1 + pkgrel = 2 url = https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes arch = any license = Apache @@ -1,7 +1,7 @@ # Maintainer: Tobias Bachmann <tobachmann@gmx.de> pkgname=fsleyes-widgets pkgver=0.6.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" @@ -18,5 +18,7 @@ sha256sums=('03151fb5ace5d222c836d08e71dd099b8916b3fa5483030e55a60095cca021c2') package() { cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"* + # "Patching" for deprecation 2.x support + sed -i 's/deprecation>=1\.\*,<=2\.\*/deprecation>=1\.\*/g' requirements.txt python setup.py install --root="$pkgdir/" --optimize=1 } |