1 # Contributor: Médéric Boquien <mboquien@free.fr>
6 pkgdesc="A python language interface to handle FITS WCS"
8 url="http://stsdas.stsci.edu/astrolib/pywcs/"
10 depends=('python2' 'python-pyfits>=1.4' 'python2-numpy>=1.3')
11 source=("http://stsdas.stsci.edu/astrolib/pywcs-$pkgver-4.7.tar.gz")
12 md5sums=('8f7b2b48a0ee6e775ff2c9c17a4e3985')
15 cd $srcdir/pywcs-$pkgver-4.7
16 python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
18 # Remember to install licenses if the license is not a common license!
19 install -D -m644 $srcdir/pywcs-$pkgver-4.7/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE