* update python-scikit-learn to 1.5.1-1

This commit is contained in:
Alexander Baldeck 2024-09-08 16:37:45 +02:00
parent 75149a71c0
commit 1ebcfbd76d
3 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,23 @@
pkgbase = python-scikit-learn
pkgdesc = A set of python modules for machine learning and data mining
pkgver = 1.5.1
pkgrel = 1
url = https://scikit-learn.org
arch = x86_64
license = BSD-3-Clause
makedepends = cython
makedepends = openmp
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = meson-python
depends = python-joblib
depends = python-numpy
depends = python-scipy
depends = python-threadpoolctl
optdepends = python-matplotlib: plotting capabilities
options = !emptydirs
source = https://github.com/scikit-learn/scikit-learn/archive/1.5.1/scikit-learn-1.5.1.tar.gz
sha256sums = 73bf9e72cc995ffbc62411d82d2eedb9d4ea24e5c4c5a12ff1ac02bc38f452e8
pkgname = python-scikit-learn

View File

@ -0,0 +1,5 @@
[python-scikit-learn]
source = "github"
github = "scikit-learn/scikit-learn"
include_regex = '\d+\.\d+\.\d+'
use_max_tag = true

View File

@ -4,13 +4,13 @@
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python-scikit-learn
pkgver=1.5.0
pkgver=1.5.1
pkgrel=1
pkgdesc='A set of python modules for machine learning and data mining'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://scikit-learn.org'
_url='https://github.com/scikit-learn/scikit-learn'
license=(BSD)
license=(BSD-3-Clause)
depends=(python-joblib
python-numpy
python-scipy
@ -27,7 +27,7 @@ optdepends=('python-matplotlib: plotting capabilities')
options=(!emptydirs)
_archive="${pkgname#python-}-$pkgver"
source=("$_url/archive/$pkgver/$_archive.tar.gz")
sha256sums=('cd2aac2b566c7e740d34aabb4737864c74ba33c29aad7101fbf1bab2931c02dc')
sha256sums=('73bf9e72cc995ffbc62411d82d2eedb9d4ea24e5c4c5a12ff1ac02bc38f452e8')
prepare() {
cd $_archive
@ -47,7 +47,4 @@ package() {
cd $_archive
python -m installer -d "$pkgdir" dist/*.whl
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
# See FS#49651
install -d "$pkgdir/usr/share/doc/$pkgname/"
cp -r doc/tutorial "$pkgdir/usr/share/doc/$pkgname/tutorial"
}