summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Bloch2023-11-03 08:14:46 +0200
committerLeonid Bloch2023-11-03 08:14:46 +0200
commitca36976349ab645aaefe787a23716a4f43e2bb66 (patch)
tree6c8f1bc17ed73dd5e8921be8befb3bb711067ca7
parentd75097ebd53a0288b67b3d2d777cc848c09eac55 (diff)
downloadaur-ca36976349ab645aaefe787a23716a4f43e2bb66.tar.gz
Add an optdepend
Signed-off-by: Leonid Bloch <lb.workbox@gmail.com>
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 68db55a76a47..52860cb7cd7c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,6 +21,7 @@ pkgbase = python-pyfai
depends = python-pyqt5
depends = fftw
depends = opencl-driver
+ optdepends = python-silx: for additional functionality, like pyFAI-calib2
source = https://github.com/silx-kit/pyFAI/archive/v2023.09.tar.gz
sha256sums = d6cdd92a165d2b2c098095a1ddf7424cd77aeb52a1c36e730c2bf792d8d65fec
diff --git a/PKGBUILD b/PKGBUILD
index 93cd255b374f..db8064f28254 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ license=('GPLv3' 'BSD' 'MIT')
depends=('python-numpy' 'python-scipy' 'python-matplotlib' 'python-fabio'
'python-h5py' 'python-pyopencl' 'python-pyqt5' 'fftw'
'opencl-driver')
+optdepends=('python-silx: for additional functionality, like pyFAI-calib2')
makedepends=('cython' 'meson-python' 'python-build' 'python-installer'
'python-wheel')
source=("https://github.com/silx-kit/pyFAI/archive/v${pkgver}.tar.gz")