blob: 128b0dce6dcf777a61ce38a6815d04a982471162 (
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
|
# Contributor: Jonas Lähnemann <jonas at pdi-berlin dot de>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
pkgname=python-holospy
pkgshort=holospy
pkgver=0.2
pkgrel=1
pkgdesc="Analysis of (off-axis) electron holography data with HyperSpy"
arch=('any')
url="http://hyperspy.org/holospy"
license=('GPL3')
depends=('python'
'python-hyperspy>=2.0rc0'
'python-numpy>=1.20.0'
'python-scipy>=1.5.0'
)
makedepends=('python-setuptools'
'python-setuptools-scm')
provides=('holospy')
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=('cc08bcc20ea5074c4c2f30fa7a80152c')
|