mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 09:45:12 +03:00
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
33 lines
1.1 KiB
Text
33 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-simframe
|
|
_pkgorig=simframe
|
|
pkgver=1.0.2
|
|
pkgrel=2
|
|
pkgdesc="Python framework for setting up and running scientific simulations"
|
|
url="https://github.com/stammler/simframe/"
|
|
arch="noarch !riscv64 !s390x !armhf !armv7 !x86" #py3-matplotlib #py3-dill
|
|
license="BSD"
|
|
depends="python3 py3-dill py3-h5py py3-matplotlib py3-scipy py3-numpy"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/stammler/$_pkgorig/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest --deselect tests/frame/test_group.py::test_group_memory_usage
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
|
|
}
|
|
|
|
sha512sums="
|
|
3ca6e63aa212999a0f139ceb0ae470ba37fed148523e322229400a4aeb18aca7eb64759151c076097b976ff0b01f2598251fbf15d90f6b6957f4198a7c9e2fee py3-simframe-1.0.2.tar.gz
|
|
"
|