blob: b85244d351a4d663be088f5592ab8b0aef9d2dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Alexander Bocken <alexander@bocken.org>
_name=scikit-base
pkgname=python-${_name,,}
pkgver=0.11.0
pkgrel=1
pkgdesc='Base classes for sklearn-like parametric objects'
arch=('any')
url="https://github.com/sktime/skbase"
license=('BSD-3-Clause')
depends=('python' 'python-numpy' 'python-scipy' 'python-scikit-learn' 'python-numba')
makedepends=('python-installer' 'python-wheel')
_whl="${_name//-/_}-$pkgver-py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl")
sha256sums=(752b27d500c0c24af166bf1d574971c309aa4e92b61c4c215ebda2cc206157bb)
noextract=("$_whl")
package() {
python -m installer --destdir="$pkgdir" "$_whl"
_python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
rm -rf "$pkgdir"/usr/lib/python$_python_version/site-packages/docs
}
|