mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-24 15:01:49 +01:00
39 lines
1.2 KiB
Plaintext
39 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-arm-preprocessing
|
|
pkgver=0.2.5
|
|
pkgrel=0
|
|
pkgdesc="Implementation of preprocessing techniques for association rule mining"
|
|
url="https://github.com/firefly-cpp/arm-preprocessing"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-niaarm py3-pandas py3-scikit-learn py3-sport-activities-features"
|
|
makedepends="py3-gpep517 py3-poetry-core"
|
|
checkdepends="py3-pytest-xdist"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://github.com/firefly-cpp/arm-preprocessing/archive/$pkgver/arm-preprocessing-$pkgver.tar.gz"
|
|
builddir="$srcdir/arm-preprocessing-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
d3566444a316561893ed3fa5fba0822cf296f57b7f4737973b7f50b6eeb4d85ae28b33f3662d2cb7e4fe82f23f73ed5e24ad14b2d28deb3e0986bdf9ba213f8b arm-preprocessing-0.2.5.tar.gz
|
|
"
|