mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-imbalanced-learn
|
|
_pkgorig=imbalanced-learn
|
|
pkgver=0.9.1
|
|
pkgrel=0
|
|
pkgdesc="Toolbox for imbalanced dataset in machine learning"
|
|
url="https://github.com/scikit-learn-contrib/imbalanced-learn"
|
|
arch="noarch !s390x" # py3-scikit-learn
|
|
license="MIT"
|
|
options="!check" # disable due to the keras and tensorflow opt dependencies
|
|
depends="
|
|
python3
|
|
py3-numpy
|
|
py3-pandas
|
|
py3-scikit-learn
|
|
py3-scipy
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-cov"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/i/imbalanced-learn/imbalanced-learn-$pkgver.tar.gz
|
|
exclude-tests.patch"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
4559d7f5d494ed646794fb9a0d02fd702b36f360457260e8c9395ca1f39ecc8c0a43fae10278264bd5a466c36b1dbddc171954e00b5f57a6a186bebda9951151 py3-imbalanced-learn-0.9.1.tar.gz
|
|
57a181476c728451b4c54ae535d0f236ac7228b525c8dcbe118bfc8837f1f270fd8185beef59dcbf8fe9c12a67af9c4064339de5df1caf18743c1a4c475db9b0 exclude-tests.patch
|
|
"
|