summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3234e34f4a82a88b5409b209a8112b0c62c15d57 (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
# Contributor: Jonas Lähnemann <jonas at pdi-berlin dot de>
# Maintainer: Jonas Lähnemann <jonas at pdi-berlin dot de>
pkgname=python-diffsims
pkgshort=diffsims
pkgver=0.6.1
pkgrel=1
pkgdesc="Python library for simulating diffraction."
arch=('any')
url="https://diffsims.rtfd.io/"
license=('GPL3')

depends=('python'
         'python-diffpy.structure>=3.0.2'
         'python-matplotlib>=3.3'
	 'python-numba'
	 'python-numpy>=1.17.3'
	 'python-orix>=0.12.1'
	 'python-psutil'
         'python-scipy>=1.8'
	 'python-tqdm>=4.9'
	 'python-transforms3d'
         )

makedepends=('python-setuptools' )

provides=('diffsims')

source=(https://github.com/pyxem/diffsims/archive/v$pkgver.tar.gz)

package() {
  cd "$srcdir/$pkgshort-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}

md5sums=('d41a5884e369c8ab058e2a37bc1387f8')