summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23af17172c643c0c9ba7588a578302b6c68e5866 (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
78
79
80
# 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=2.0rc0
pkgrel=2
pkgdesc="Hyperspectral data analysis"
arch=('any')
url="http://hyperspy.org"
license=('GPL3')

depends=('python'
         'python-cloudpickle'
         'python-dask>2.11.0'
         'python-importlib-metadata>=3.6'
         'python-jinja'
         'python-matplotlib>=3.1.3'
         'python-natsort'
         'python-numpy>=1.19.0'
         'python-packaging'
         'python-pint>=0.10'
         'python-pooch' 	 
         'python-prettytable>=2.3'
         'python-dateutil>=2.5.0'
         'python-pyaml'
         'python-requests'
         'python-rosettasciio'
         'python-scipy>=1.4.0'
         'python-sympy'
         'python-tqdm>=4.9.0'
         'python-traits>=4.5.0'
         'python-scikit-image>=0.15'  # AUR
         )

optdepends=('python-numba: speed'  # AUR
            'python-numexpr: speed'
            'ipython: ipython'
            'python-ipyparallel: ipython' # AUR, 
            'python-scikit-learn>=1.0.1: machine learning features'
            'python-hyperspy-gui-ipywidgets: GUI components for Jupyter' # AUR
            'python-ipympl: GUI components for Jupyter'
            'python-hyperspy-gui-traitsui: GUI components for desktop'  # AUR
            'python-matplotlib-scalebar: scalebar in images'
            'python-numpydoc: build documentation'
            'python-pydata-sphinx-theme: build documentation'
            'python-setuptools-scm: build documentation'            
            'python-sphinx-copybutton: build documentation'
            'python-sphinx_design: build documentation'
            'python-sphinx-favicon: build documentation'
            'python-sphinx-gallery: build documentation'
            'python-sphinx>=1.7: build documentation'
            'python-sphinxcontrib-mermaid: build documentation'
            'python-sphinxcontrib-towncrier: build documentation'
             )

makedepends=('python-setuptools'
             'python-setuptools-scm'
             )

checkdepends=('python-pytest-mpl'
              'python-pytest-rerunfailures'
              'python-pytest-xdist'
              'python-pytest>=3.6'
              'python-setuptools-scm'
              '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=('d1bf21cd1e5c225a3ec5696730aebe11')