blob: 78f0ee697c854bfa791d7ac058684364f00a8af6 (
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-diffpy.structure
pkgshort=diffpy.structure
pkgver=3.3.0
pkgrel=1
pkgdesc="Storage and manipulation of crystal structure data in python"
arch=('any')
url="https://www.diffpy.org/diffpy.structure/"
license=('BSD-3-Clause')
depends=('python>=3.11'
'python-numpy'
'python-pycifrw'
)
makedepends=('python-setuptools>=62.0'
'python-setuptools-git-versioning>=2.0'
)
provides=('diffpy.structure')
source=(https://github.com/diffpy/diffpy.structure/archive/$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=('13a42f00238699b40dcecb802ef3226b')
|