blob: 7950179aa4aba750179307f8a330fb7547808084 (
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: Paul Irofti <paul@irofti.net>
_name=dictlearn
pkgname="python-$_name"
pkgver=0.2.2
pkgrel=1
pkgdesc="Dictionary Learning Toolbox"
url="https://gitlab.com/unibuc/graphomaly/dictionary-learning"
arch=('any')
license=('BSD')
depends=(python
python-certifi
python-joblib
python-numpy
python-scikit-learn
python-scipy
python-threadpoolctl)
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('014391e31e9ed87e530a293a780411d41d9805ef306eac5e4cfa090e9fc10769')
build() {
cd "$srcdir/$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set sw=2 et:
|