# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-fuzzylogic _pkgorig=fuzzylogic pkgver=1.5.0 pkgrel=0 pkgdesc="Fuzzy Logic and Fuzzy Inference implementations" url="https://github.com/amogorkon/fuzzylogic/" arch="all !s390x !armv7" # assertion errors license="MIT" depends="python3 py3-matplotlib py3-numpy py3-pandas" makedepends="py3-gpep517 py3-setuptools py3-wheel" checkdepends="py3-hypothesis py3-pytest-xdist" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/f/fuzzylogic/fuzzylogic-$pkgver.tar.gz" builddir="$srcdir/$_pkgorig-$pkgver" options="!check" # tests not updated 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 -n auto -k 'not test_eq and not test_units' } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 8f6116c6f64d4ff15dc896ae514db9115bfa0fbeedad7dec8d7733e2f48f40833c9b698ce73e5a77a7eb14db872784bc993ece7941f67241af8236a2f81b393d py3-fuzzylogic-1.5.0.tar.gz "