* update python-scikit-learn to 1.5.1-1
This commit is contained in:
parent
75149a71c0
commit
1ebcfbd76d
23
python/python-scikit-learn/.SRCINFO
Normal file
23
python/python-scikit-learn/.SRCINFO
Normal 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
|
5
python/python-scikit-learn/.nvchecker.toml
Normal file
5
python/python-scikit-learn/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[python-scikit-learn]
|
||||||
|
source = "github"
|
||||||
|
github = "scikit-learn/scikit-learn"
|
||||||
|
include_regex = '\d+\.\d+\.\d+'
|
||||||
|
use_max_tag = true
|
@ -4,13 +4,13 @@
|
|||||||
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
||||||
|
|
||||||
pkgname=python-scikit-learn
|
pkgname=python-scikit-learn
|
||||||
pkgver=1.5.0
|
pkgver=1.5.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A set of python modules for machine learning and data mining'
|
pkgdesc='A set of python modules for machine learning and data mining'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url='https://scikit-learn.org'
|
url='https://scikit-learn.org'
|
||||||
_url='https://github.com/scikit-learn/scikit-learn'
|
_url='https://github.com/scikit-learn/scikit-learn'
|
||||||
license=(BSD)
|
license=(BSD-3-Clause)
|
||||||
depends=(python-joblib
|
depends=(python-joblib
|
||||||
python-numpy
|
python-numpy
|
||||||
python-scipy
|
python-scipy
|
||||||
@ -27,7 +27,7 @@ optdepends=('python-matplotlib: plotting capabilities')
|
|||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
_archive="${pkgname#python-}-$pkgver"
|
_archive="${pkgname#python-}-$pkgver"
|
||||||
source=("$_url/archive/$pkgver/$_archive.tar.gz")
|
source=("$_url/archive/$pkgver/$_archive.tar.gz")
|
||||||
sha256sums=('cd2aac2b566c7e740d34aabb4737864c74ba33c29aad7101fbf1bab2931c02dc')
|
sha256sums=('73bf9e72cc995ffbc62411d82d2eedb9d4ea24e5c4c5a12ff1ac02bc38f452e8')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $_archive
|
cd $_archive
|
||||||
@ -47,7 +47,4 @@ package() {
|
|||||||
cd $_archive
|
cd $_archive
|
||||||
python -m installer -d "$pkgdir" dist/*.whl
|
python -m installer -d "$pkgdir" dist/*.whl
|
||||||
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
|
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"
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user