summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3e73572f83bd28f6fec29e5ef6b417e01f00a9e (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
# Contributor: Jonas Lähnemann <jonas at pdi-berlin dot de>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
pkgname=python-orix
pkgshort=orix
pkgver=0.13.2
pkgrel=1
pkgdesc="Python library for analysing orientations and crystal symmetry."
arch=('any')
url="https://orix.rtfd.io/"
license=('GPL3')

depends=('python'
         'python-dask'
         'python-diffpy.structure>=3.0.2'
	 'python-h5py'
         'python-matplotlib>=3.6.1'
	 'python-matplotlib-scalebar'
         'python-numba'
	 'python-numpy'
	 'python-pooch>=0.13'
         'python-pycifrw'
         'python-scipy'
	 'python-tqdm'
         )

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

provides=('orix')

source=(https://github.com/pyxem/orix/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=('5b4c9c92af72697ec810218ea644f5af')