mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-stochastic
|
|
_pkgorig=stochastic
|
|
pkgver=0.7.0
|
|
pkgrel=2
|
|
pkgdesc="Generate realizations of stochastic processes in python"
|
|
url="https://github.com/crflynn/stochastic"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-numpy py3-scipy"
|
|
makedepends="py3-gpep517 py3-setuptools py3-poetry-core py3-installer"
|
|
checkdepends="py3-pytest py3-pytest-xdist py3-pytest-cov"
|
|
source="https://github.com/crflynn/stochastic/archive/$pkgver/$_pkgorig-$pkgver.tar.gz
|
|
poetry-core.patch
|
|
"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/stochastic-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
cc6b70c51cd5b3bde2deaa632e2f8dfae5b48b71bd326a420588c15de7e687e006746aa2427d26ff74b75d69413be3a2ce4e0edcf327971699f7ece425de89b4 stochastic-0.7.0.tar.gz
|
|
fbd37c4960f8936af3a77ac6c89a0726f433b6aa683cbd06926d94db47d3eb8b9836a88c9f111069be70dd9b6f1d2fa043c3d73986a3019f7a2521721a97427d poetry-core.patch
|
|
"
|