mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-simpful
|
|
_pkgorig=simpful
|
|
pkgver=2.10.0
|
|
pkgrel=0
|
|
pkgdesc="A friendly python library for fuzzy logic reasoning"
|
|
url="https://github.com/aresio/simpful"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="python3 py3-matplotlib py3-numpy py3-requests py3-scipy"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="https://github.com/aresio/simpful/archive/$pkgver/$_pkgorig-$pkgver.tar.gz
|
|
version-patch.patch"
|
|
builddir="$srcdir/simpful-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
dc182dc8f8d25b1e78b246a92c58f03192705107bdc669869e8516a20c94026a91ebedfcb4a53868dc4b436d40ec0f50bfa8b916c5e4f92eb7b17471ab472914 simpful-2.10.0.tar.gz
|
|
e189bb4141cd3eb54a0361b01060b5d1aad64a547fa98a96a128bb10d4f03b40083b324520eda445a2b9b6989a46f4183234cb0966759adf9dde96d61deda02d version-patch.patch
|
|
"
|