summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a3eca41525aec20ae9b8ea0db1103a834decd49 (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
# Maintainer: Clemens Brunner <clemens dot brunner at gmail dot com>
pkgname=python-pybv
_name=${pkgname#python-}
pkgver=0.7.6
pkgrel=1
pkgdesc="A lightweight I/O utility for the BrainVision data format"
arch=('any')
url="https://github.com/bids-standard/pybv"
license=('BSD')
groups=()
depends=('python' 'python-numpy')
makedepends=('python-build' 'python-hatchling' 'python-hatch-vcs' 'python-installer')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz)
noextract=()
sha1sums=('174b94f89afd2333199cd87fa097eedc233636be')

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

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