blob: a0949edcbf8fa1a91abade52eb1be5c880bdee03 (
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.3
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=('13af6a87a69580ab553bd43c9d65dd2a')
|