blob: 7e87298cea75d71f7a6031610a696f5776af2570 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-tomso
_pkgorig=tomso
pkgver=0.2.1
pkgrel=1
pkgdesc="Tools for Models of Stars and their Oscillations"
url="https://github.com/warrickball/tomso"
arch="noarch"
license="MIT"
depends="python3 py3-numpy"
checkdepends="python3-dev py3-pytest"
makedepends="py3-setuptools"
source="https://github.com/warrickball/tomso/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
options="!check" #tests retrieve some online data
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
df6f6d54072c84382735b24f3a10d1ec4bbe8154e75fb916fbd5b0eb7a307c4b3cf3ec9ef21869da68616ba9f5ce9f17452e563818ef2e28ceeda1789fb41e5e tomso-0.2.1.tar.gz
"
|