summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aeed8a5abdd86204cfd9a9b2ad139782263989ea (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
30
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Tomas Ostasevicius <t dot ostasevicius at gmail dot com>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
pkgname=python-hyperspy
pkgshort=hyperspy
pkgver=1.6.0
pkgrel=1
pkgdesc="Hyperspectral data analysis"
arch=('any')
url="http://hyperspy.org"
license=('GPL3')

depends=('python' 'python-scipy' 'python-matplotlib' 'python-numpy'
         'python-traits' 'python-natsort' 'python-requests' 'python-tqdm'
         'python-sympy' 'python-dill' 'python-h5py' 'python-dateutil'
         'python-ipyparallel' 'python-dask' 'python-scikit-image'
         'python-pint' 'python-statsmodels' 'python-numexpr' 'python-sparse'
         'python-imageio' 'python-pyaml' 'python-ptable' 'python-tifffile'          
         'python-numba' )

optdepends=('python-scikit-learn: learning'
            'python-hyperspy-gui-ipywidgets: gui-jupyter'
            'python-hyperspy-gui-traitsui: gui-traitsui' 
	    'python-blosc: mrcz'
            'cython: speed' )

makedepends=('python-setuptools' )

replaces=('hyperspy')
conflicts=('hyperspy')
provides=('hyperspy')

source=(https://github.com/hyperspy/hyperspy/archive/v$pkgver.zip)
sha256sums=('942294a6a6f76ccb55c510ca07293ef93b3fe4eedd37b840b9c88366624b2026')

package() {
  cd "$srcdir/$pkgshort-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et:

sha256sums=('942294a6a6f76ccb55c510ca07293ef93b3fe4eedd37b840b9c88366624b2026')