blob: 4fc544f44fb3d5be139298806eeb3c1773919d2d (
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
|
# Contributor: Jonas Lähnemann <jonas at pdi-berlin dot de>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
pkgname=python-exspy
pkgshort=exspy
pkgver=0.3.1
pkgrel=1
pkgdesc="Analysis of EDS and EELS data with HyperSpy"
arch=('any')
url="http://hyperspy.org/exspy"
license=('GPL3')
depends=('python'
'python-dask'
'python-hyperspy>=2.0rc0'
'python-matplotlib'
'python-numexpr' # speed
'python-numpy'
'python-pint'
'python-pooch'
'python-prettytable'
'python-requests'
'python-scipy'
'python-traits'
)
optdepends=('python-hyperspy-gui-ipywidgets>=2.0: GUI components for Jupyter' # AUR
'python-hyperspy-gui-traitsui>=2.0: GUI components for desktop' # AUR
'python-matplotlib-scalebar: scalebar in images'
'python-numpydoc: build documentation'
'python-pydata-sphinx-theme: 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'
)
makedepends=('python-setuptools>=64'
'python-setuptools-scm>=8'
'python-wheel'
)
provides=('exspy')
source=(https://github.com/hyperspy/$pkgshort/archive/v$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgshort-$pkgver"
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgshort-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
md5sums=('ee1cfb3c28bfd93cf95a9213db38e959')
|