mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-sklearn-nature-inspired-algorithms
|
|
_pkgorig=Sklearn-Nature-Inspired-Algorithms
|
|
pkgver=0.8.1
|
|
pkgrel=0
|
|
pkgdesc="Nature-inspired algorithms for hyper-parameter tuning of Scikit-Learn models"
|
|
url="https://github.com/timzatko/Sklearn-Nature-Inspired-Algorithms"
|
|
arch="noarch !riscv64 !s390x" # py3-matplotlib, py3-scikit-learn
|
|
license="MIT"
|
|
depends="
|
|
py3-matplotlib
|
|
py3-niapy
|
|
py3-numpy
|
|
py3-pandas
|
|
py3-scikit-learn
|
|
py3-seaborn
|
|
py3-toml
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools poetry py3-installer"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/timzatko/Sklearn-Nature-Inspired-Algorithms/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/Sklearn-Nature-Inspired-Algorithms-$pkgver"
|
|
|
|
build() {
|
|
GIT_DIR="$builddir" poetry build -f wheel
|
|
}
|
|
|
|
check() {
|
|
python3 -m unittest tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/sklearn_nature_inspired_algorithms-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
f5cd4326d7a80d55b72de12024fd97688ac98dfc5510b7bd343f93f246f49990cb3ac3c3c543c04e9a396627ef1087d901d2e3378f6d383263a90a964ea604f4 Sklearn-Nature-Inspired-Algorithms-0.8.1.tar.gz
|
|
"
|