blob: eb154e457cfe2b1e334a793aaf67975845d5f517 (
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
|
# Maintainer: yuhldr <yuhldr@qq.com>
pkgname=('python-symfc')
pkgver=1.6.1
pkgrel=1
pkgdesc="Generate symmetrized force constants"
arch=('any')
url="https://github.com/symfc/symfc"
license=('BSD')
depends=("python-numpy" "spglib" "python-scipy")
makedepends=(python
python-setuptools
python-build
python-pip)
source=("git+https://github.com/symfc/symfc.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "$srcdir"/symfc
rm -rf dist
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir"/symfc
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
}
|