1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-fuzzylogic/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

31 lines
956 B
Text

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-fuzzylogic
_pkgorig=fuzzylogic
pkgver=1.2.0
pkgrel=1
pkgdesc="Fuzzy Logic and Fuzzy Inference implementations"
url="https://github.com/amogorkon/fuzzylogic/"
arch="all !s390x !armv7" # assertionErrors
license="MIT"
depends="python3 py3-matplotlib py3-numpy py3-pandas"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-hypothesis py3-pytest"
source="https://github.com/amogorkon/fuzzylogic/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest -k 'not test_eq and not test_units'
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
f47d01ace5760cbfcd21a9786744a6f7ded59066d2f06fa7d5b3d9d2dc22b6fe016c991e784f5c272262e5988a3bab15d7dec7fb6df8f8ffc65166d4431ea025 fuzzylogic-1.2.0.tar.gz
"