summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 45c8f7d590385131ffe12241b52b0da8aad4c21f (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Contributor: Tomas Ostasevicius <t dot ostasevicius at gmail dot com>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
# Maintainer: Joshua Taillon <jat255 AT gmail DOT com>
pkgname=python-hyperspy
pkgshort=hyperspy
pkgver=1.7.2
pkgrel=1
pkgdesc="Hyperspectral data analysis"
arch=('any')
url="http://hyperspy.org"
license=('GPL3')

depends=('python'
         'python-scipy>=1.1'
         'python-matplotlib>=3.1.3'
         'python-numpy>=1.17.1'
         'python-traits>=4.5.0'
         'python-natsort'
         'python-requests'
         'python-tqdm>=4.9.0'
         'python-sympy'
         'python-h5py'
         'python-jinja'
 	 'python-packaging'
         'python-dateutil>=2.5.0'
	 'ipython>=8.1.0'
         'python-dask>2.1.0'
         'python-pint>=0.10'
         'python-numexpr'
         'python-pyaml'
         'python-prettytable'
	 'python-importlib-metadata>=3.6'
         'python-toolz'
         'python-dill'  # AUR
         'python-ipyparallel'  # AUR
         'python-scikit-image>=0.15'  # AUR
         'python-sparse'  # AUR
	 'python-zarr'  # AUR
       # 'python-imageio'  # AUR (from scikit-image)
       # 'python-pywavelets' # AUR (from scikit-image)
         'python-tifffile>=2020.2.16'  # AUR (from scikit-image)        
         'python-numba-git>=0.52'  # AUR (from python-sparse, but currently requires git version)
         'python-llvmlite-git' # AUR (from python-numba, but currently requires git version)
         )

optdepends=('python-scikit-learn: machine learning features'
            'python-hyperspy-gui-ipywidgets: GUI components for Jupyter' # AUR
            'python-hyperspy-gui-traitsui: GUI components for desktop'  # AUR
	    'python-blosc>=1.5: mrcz file support'
            'cython: enables acceleration of certain operations (must be installed at package build time)'
            'python-imagecodecs: speed'
            'python-matplotlib-scalebar: scalebar in images'
            'python-sphinx>=1.7: build documentation'
            'python-sphinx_rtd_theme: build documentation'
             )

makedepends=('python-setuptools' )

checkdepends=('python-pytest>=3.6'
              'python-pytest-mpl'
              'python-pytest-xdist'
              'python-pytest-rerunfailures'
              'python-pytest-cov'
               )

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

source=(https://github.com/hyperspy/hyperspy/archive/v$pkgver.tar.gz)

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

md5sums=('5bd5efcca8ccf6c44344b528abd02dcd')