blob: 42afe058e0bbed28672335749bd88d90abced26c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pymeeus
pkgver=0.5.11
pkgrel=3
pkgdesc="Python implementation of Jean Meeus astronomical routines"
url="https://github.com/architest/pymeeus"
arch="noarch"
license="LGPL-3.0-or-later"
depends="
py3-atomicwrites
py3-attrs
py3-funcsigs
py3-more-itertools
py3-pathlib2
py3-pluggy
py3-py
python3
"
makedepends="py3-setuptools"
checkdepends="
py3-coverage
py3-flake8
py3-mccabe
py3-pycodestyle
py3-pyflakes
py3-pytest
py3-pytest-cov
"
source="https://pypi.python.org/packages/source/P/PyMeeus/PyMeeus-$pkgver.tar.gz"
builddir="$srcdir/PyMeeus-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
9c109a7ed0ff3635e8b1eb4ee444bc5086528169fc942719385b02c5d5eca1f1ec3d3988bb06140e94f3d4ab741473880d8a36e187c468b9b91a3254575b92e6 PyMeeus-0.5.11.tar.gz
"
|