blob: a9b04999ecb8fdb2547265df8628ffb78f4b0b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Package maintainer: Leonid B <leonid dot bloch at esrf dot fr>
# Upstream contact: silx at esrf dot fr
pkgname=python-silx
pkgver=2.2.0
pkgrel=1
pkgdesc="A collection of Python packages for data analysis at synchrotron radiation facilities."
arch=('any')
url="http://www.silx.org"
license=('MIT' 'LGPL')
depends=('python-numpy' 'python-pyqt5' 'python-matplotlib' 'python-fabio')
optdepends=('python-h5py: for HDF5 input/output'
'ipython: for interactive console'
'python-qtconsole: for GUI console'
'python-pyopencl: for sift - OpenCL implementation'
'opencl-driver: for sift - OpenCL implementation')
makedepends=('cython' 'python-setuptools')
source=("https://github.com/silx-kit/${pkgname#*-}/archive/v${pkgver}.tar.gz")
sha256sums=('9f875691a988d0ef2ecb6e4cc046a546f1761ba932ae0e523c16bc277bdb52a5')
build() {
cd "${pkgname#*-}-${pkgver}"
python setup.py build
}
package() {
cd "${pkgname#*-}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|