mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/scikit-learn: Update for 1.0.2 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b105510a56
commit
6deed80cc6
2 changed files with 12 additions and 10 deletions
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# SlackBuild for scikit-learn
|
||||
# Slackware build script for scikit-learn
|
||||
#
|
||||
# Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
|
@ -24,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=scikit-learn
|
||||
VERSION=${VERSION:-0.24.1}
|
||||
VERSION=${VERSION:-1.0.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -68,7 +70,7 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-v$VERSION
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
@ -82,7 +84,7 @@ python3 setup.py install --root=$PKG
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
CONTRIBUTING.md COPYING README.rst \
|
||||
CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING README.rst \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="scikit-learn"
|
||||
VERSION="0.24.1"
|
||||
VERSION="1.0.2"
|
||||
HOMEPAGE="https://scikit-learn.org"
|
||||
DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/0.24.1/scikit-learn-0.24.1.tar.gz"
|
||||
MD5SUM="a396b295ed76979577279bee9310acc4"
|
||||
DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/1.0.2/scikit-learn-1.0.2.tar.gz"
|
||||
MD5SUM="565b8b0f9c5cb0797a6de295284557cd"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python-joblib scipy3"
|
||||
MAINTAINER="Benjamin Trigona-Harany"
|
||||
EMAIL="slackbuilds@jaxartes.net"
|
||||
REQUIRES="python-joblib scipy3 threadpoolctl"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu1@isaacyu1.com"
|
||||
|
|
Loading…
Reference in a new issue