diff options
author | Miguel de Val-Borro | 2015-06-08 12:01:37 -0400 |
---|---|---|
committer | Miguel de Val-Borro | 2015-06-08 12:01:37 -0400 |
commit | a789a8d34154b592717a6fe04638671ccaa75e77 (patch) | |
tree | f56b80db8318e845ce26f570a79b4cef829934c2 | |
download | aur-a789a8d34154b592717a6fe04638671ccaa75e77.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9df09ca57670 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pyfits + pkgdesc = A python language interface to FITS formatted data files + pkgver = 3.3 + pkgrel = 1 + url = http://www.stsci.edu/resources/software_hardware/pyfits + arch = i686 + arch = x86_64 + license = BSD + depends = python>=3.1 + depends = python-numpy + source = http://pypi.python.org/packages/source/p/pyfits/pyfits-3.3.tar.gz + md5sums = 0d4f3515bc714f48093578e96ca7219d + +pkgname = python-pyfits + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..832115df3b62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Arthur Danskin <arthurdanskin@gmail.com> +# Maintainer: Mike Ressler <mike.ressler@alum.mit.edu> + +pkgname=python-pyfits +pkgver=3.3 +pkgrel=1 +pkgdesc="A python language interface to FITS formatted data files" +url="http://www.stsci.edu/resources/software_hardware/pyfits" +license=('BSD') +arch=('i686' 'x86_64') +source=("http://pypi.python.org/packages/source/p/pyfits/pyfits-$pkgver.tar.gz") +md5sums=('0d4f3515bc714f48093578e96ca7219d') + +depends=('python>=3.1' 'python-numpy') + +build() { + cd "${srcdir}/pyfits-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/pyfits-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" + install -m755 -d "${pkgdir}/usr/share/licenses/python-pyfits" + install -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-pyfits/" +} + |