summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95ffd3802005ed1460bca72ae4ca14151327f67f (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
# Maintainer: Clemens Brunner <clemens dot brunner at gmail dot com>
pkgname=python-picard
pkgver=0.8
pkgrel=1
pkgdesc="Preconditioned ICA for Real Data"
arch=('any')
url="https://github.com/pierreablin/picard"
license=('BSD')
groups=()
depends=('python' 'python-numpy' 'python-scikit-learn' 'python-scipy')
makedepends=('python-build' 'python-installer')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz)
noextract=()
sha1sums=('e15bd042bc8811c259308d2af3066ed90f9c3c7f')

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

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