summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9522c6dba7c886a80fa32c1ae4e63f66d67c1558 (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
# Maintainer: Jim Madge <jim+aur@jmadge.com>
# Contributor: Tomasz Bursztyka <tomasz dot bursztyka at proton dot me>
_name=scikit_fmm
pkgname=python-scikit-fmm
pkgver=2025.6.23
pkgrel=2
pkgdesc="The fast marching method for Python"
arch=("any")
url="https://scikit-fmm.readthedocs.io"
license=("BSD-3-Clause")
depends=(
    "python-numpy"
)
makedepends=(
    "meson-python"
    "python-build"
    "python-installer"
    "python-wheel"
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=("a3208f5f3881e40b7878d1121ba39b8d57f1bc38fb4e5f0d9d1c66a9b007e44f")

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    install -Dm644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
    python -m installer --destdir="$pkgdir" dist/*.whl
}