blob: e3b90dca404bd7444ac1d237cb4121fdc0772565 (
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
|
# Maintainer: dobedobedo <dobe0331 at gmail dot com>
pkgname=('python-pysolar')
pkgver=0.11
pkgrel=1
pkgdesc="Collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations."
arch=('x86_64')
depends=('python'
'python-numpy'
'python-setuptools'
)
url='http://pysolar.org/'
license=('GPLv3')
md5sums=('7150e99356f366ac2ef4dd6289151fbe')
source=("https://github.com/pingswept/pysolar/archive/$pkgver.tar.gz")
build() {
cd "$srcdir/pysolar-$pkgver/"
python setup.py build
}
package() {
cd "$srcdir/pysolar-$pkgver/"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|