mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
37 lines
932 B
Plaintext
37 lines
932 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-gplearn
|
|
pkgver=0.4.2
|
|
pkgrel=1
|
|
pkgdesc="Genetic Programming in Python, with a scikit-learn inspired API"
|
|
url="https://github.com/trevorstephens/gplearn"
|
|
# py3-scikit-learn is missing on s390x
|
|
arch="noarch !s390x"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
python3
|
|
py3-joblib
|
|
py3-scikit-learn
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/trevorstephens/gplearn/archive/$pkgver/gplearn-$pkgver.tar.gz"
|
|
builddir="$srcdir/gplearn-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
553384047d4cc6a503315c073e2b60890ba9058395581d226718897cb64477f16cec28134a6ce7bb83f29c7f2a688b21c6fbeafd47242eea7d1724f844e3a919 gplearn-0.4.2.tar.gz
|
|
"
|