blob: b878dc1a0e16e8df4a1b4c5e0fa69135729ffdd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Lucas Werkmeister <mail@lucaswerkmeister.de>
pkgname=python-imblearn
pkgver=0.12.4
pkgrel=1
pkgdesc='A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning'
arch=(any)
license=('MIT')
url='https://imbalanced-learn.org/'
depends=(
'python-numpy'
'python-scipy'
'python-scikit-learn'
'python-joblib'
'python-threadpoolctl'
)
optdepends=(
'python-pandas'
'python-keras-applications'
'python-tensorflow'
)
source=("https://github.com/scikit-learn-contrib/imbalanced-learn/archive/${pkgver}.tar.gz")
sha256sums=('aba97be26198ae497fe979bc778d154b33aea77b6834856b123516d68a07e691')
package() {
cd "${srcdir}/imbalanced-learn-${pkgver}"
python setup.py install -O1 --root="${pkgdir}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 "README.rst" "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
install -D -m644 "doc/install.rst" "${pkgdir}/usr/share/doc/${pkgname}/INSTALL.rst"
}
|