summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f73fd21c0ae75ed7ddb63b4c9811fbcb5544fdc (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-stemu
_name=${pkgname#python-}
pkgver=0.0.1
pkgrel=1
pkgdesc="s(t) emulation of smooth functions by stacking"
arch=(any)
url="https://github.com/handley-lab/stemu"
license=(MIT)
groups=()
depends=(python-numpy python-matplotlib python-scipy python-pandas)
makedepends=(python-build python-installer)
provides=(stemu)
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('1fb91b258b54d330e0d55e92c00408270ea2ae56509c0de6a86d93d5a2575db3')

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

package() {
    cd "$srcdir/$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}