blob: 3db417a6b5c89be88756e8dd97bd8ce7d7cc5b94 (
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
|
# Maintainer: yuhldr <yuhldr@qq.com>
pkgname=('python-seekpath')
pkgver=2.1.0
pkgrel=2
pkgdesc="A module to obtain and visualize k-vector coefficients and obtain band paths in the Brillouin zone of crystal structures"
arch=('any')
url="https://github.com/giovannipizzi/seekpath"
license=('MIT')
depends=("python-numpy" "spglib")
optdepends=("python-scipy")
makedepends=('python-setuptools' 'python')
source=("${url}/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('34eb91c2b4138fceb579deee336cc4ff7ef4a50b46b3fbb466d96792a1b42466')
package() {
cd "$srcdir"/seekpath-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
# uncomment for openmpi version
# python setup_openmp.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|