Package Details: python2-pyfits 3.4-1

Git Clone URL: https://aur.archlinux.org/python2-pyfits.git (read-only)
Package Base: python2-pyfits
Description: A python language interface to FITS formatted data files
Upstream URL: http://www.stsci.edu/resources/software_hardware/pyfits
Licenses: BSD
Submitter: ressler
Maintainer: migueldvb
Last Packager: migueldvb
Votes: 15
Popularity: 0.000002
First Submitted: 2011-08-30 18:47
Last Updated: 2016-01-31 03:56

Required by (3)

Sources (1)

Latest Comments

ressler commented on 2015-02-20 19:48

Now that python2-astropy-1.0 has been released and is available in the AUR, I'm going to disown this package as it is obsolete. If you still use pyfits and are desperate, if you formerly called it with

import pyfits

you can install astropy and call it with

from astropy.io import fits as pyfits

without changing any other code. Good luck!

ressler commented on 2014-07-22 04:53

Update to v3.3. See python-pyfits for more commentary.

ressler commented on 2014-03-29 16:52

Bugfix update to 3.2.2. Includes official python-3.4 support.

ressler commented on 2013-12-05 20:04

Update to 3.2.

ressler commented on 2013-06-20 17:05

Bugfix update to 3.1.2.

dwalz commented on 2013-06-18 10:18

Validating source files with md5sums...
pyfits-3.1.1.tar.gz ... FAILED

ressler commented on 2013-01-16 23:42

Bugfix update to 3.1.1.

ressler commented on 2012-08-10 17:05

Sorry for the churn. I missed the filename collision with the script /usr/bin/fitsdiff if you have both python-pyfits and python2-pyfits installed. To be clear, both versions of pyfits install the executable scripts /usr/bin/fitscheck and /usr/bin/fitsdiff. To avoid collisions and to follow python vs python2 precedent, the scripts installed by python2-pyfits are renamed as /usr/bin/fitscheck2 and /usr/bin/fitsdiff2. If someone knows a better way to deal with this, I would be happy to implement it.

ressler commented on 2012-08-10 16:53

Upgrade to 3.1.

ressler commented on 2012-06-19 16:45

Bug fix update to 3.0.8. Handling of scaled data is much improved.

ressler commented on 2012-04-11 17:32

Bug fix update to 3.0.7.

ressler commented on 2012-04-11 17:28

Bug fix update to 3.0.7.

ressler commented on 2012-03-15 17:50

Note - you might see a bunch of "Not found" errors during the build. These are for files in the /resources, /institute, and /jwst directories and seem to be CSS templates and associated documentary files. I suspect a flaw in the upstream setup.py file, since I saw also it while doing a straight "python setup.py build" command. I've grepped the whole source tree looking for references to these files, but don't see anything, therefore I don't know who is trying to call them in. I'll report it upstream. Meanwhile, everything seems to work, and I judge it to be safe to use.

ressler commented on 2012-03-15 17:28

Bug fix update to 3.0.6. There is a fairly important scaling issue that is fixed, so updating is encouraged.

ressler commented on 2012-01-30 22:50

Bug fix update to 3.0.5.

ressler commented on 2011-12-03 18:40

Bug fix update to 3.0.4.

ressler commented on 2011-10-03 19:57

Bug fix update to 3.0.2.

ressler commented on 2011-09-14 15:24

Bug fix update.

ressler commented on 2011-09-13 15:14

Even though I don't see the conflict when using yaourt, I'm guessing it is due to both packages trying to install the file /usr/bin/fitscheck. I've updated the python2-pyfits version to rename this program to fitscheck2 during the build, so it shouldn't clash anymore. I think it is a bit bush-league to have both a fitscheck and fitscheck2 script hanging around, but I don't see any more proper way of handling it. I suppose if having both python and python2 is okay, having fitscheck and fitscheck2 is okay, too.

As always, let me know if there are any problems.

mboquien commented on 2011-09-13 08:50

There is a file conflict when trying to install python-pyfits and python2-pyfits in parallel.

Targets (1): python2-pyfits-3.0-1

Total Download Size: 0.00 MB
Total Installed Size: 1.88 MB

Proceed with installation? [Y/n]
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
error: failed to commit transaction (conflicting files)
python2-pyfits: /usr/bin/fitscheck exists in filesystem
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-mederic
==> WARNING: Following packages have not been installed:
python2-pyfits

ressler commented on 2011-08-30 18:48

Updating to pyfits-3.0 which includes python3 support. At the risk of breaking packages that depend on python-pyfits, I have followed the naming conventions of numpy and scipy where e.g. python-numpy is the python3 version, and python2-numpy is for python2; same here. Unfortunately, AUR does not allow split packages in one PKGBUILD, so there is now a python-pyfits entry and a python2-pyfits entry.

This python2 is somewhat better tested than the python3 version. Please let me know of any mistakes.