mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
31 lines
1 KiB
Text
31 lines
1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-scikit-uplift
|
|
_pkgorig=scikit-uplift
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc="Classic approaches of Uplift modelling in scikit-learn style in python"
|
|
url="https://www.uplift-modeling.com"
|
|
arch="noarch !s390x !riscv64 !x86 !armhf !armv7" # py3-scikit-learn, py3-matplotlib, memory errors
|
|
license="MIT"
|
|
depends="python3 py3-scikit-learn py3-numpy py3-pandas py3-matplotlib py3-requests py3-tqdm"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/scikit-uplift/scikit-uplift-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
964146b29784b52f6fe05e64398b4a1fe91ec639b7341b9be79fd6d5d545e9dc3ce257c0df63c6b3455d657928df72e0c82a3912df0a805944238979208a7c5e py3-scikit-uplift-0.5.1.tar.gz
|
|
"
|