blob: e6d1a98dbabaed1d06923a81c86e38202a7c91c9 (
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
|
# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley)
pkgname=python-polychord
pkgver=1.22.2
pkgrel=1
pkgdesc="Next generation nested sampling (python library)"
arch=(any)
url="https://github.com/PolyChord/PolyChordLite"
groups=()
depends=(gcc-fortran openmpi)
license=('custom')
makedepends=(python-build python-installer)
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://github.com/PolyChord/PolyChordLite/archive/${pkgver}.tar.gz")
sha256sums=('f7407a3ad24cba9f0f0fef41e1f3646d72d1c308355e20b21abc222c17cb3509')
build() {
cd "$srcdir/PolyChordLite-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/PolyChordLite-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
}
|