Bug 147052

Summary: Port Update: astro/py-pyfits
Product: Ports & Packages Reporter: tonymaher
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Only Me CC: wenheping
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
file.diff none

Description tonymaher 2010-05-26 10:30:01 UTC
    The port astro/py-pyfits is out of date and does not work with the
    default python2.6.  When using it with astro/py-aipy get errors.

    plot_uv.py -a 0_1 -p yy -c 22,32,42 -t 300_500 -m lin test.uv
    Reading test.uv
    DeprecationWarning: functions overriding warnings.showwarning() must
    support the 'line' argument
    File "/usr/local/lib/python2.6/site-packages/pyfits/NP_pyfits.py",
		line 76, in showwarning
        _showwarning(message, category, filename, lineno, file)
    File "/usr/local/lib/python2.6/warnings.py", line 29, in _show_warning
            file.write(formatwarning(message, category, filename, lineno, line))
    TypeError: formatwarning() takes exactly 4 arguments (5 given)
Comment 1 Edwin Groothuis freebsd_committer 2010-05-26 10:30:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer 2010-05-26 10:30:17 UTC
Maintainer of astro/py-pyfits,

Please note that PR ports/147052 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 3 Edwin Groothuis freebsd_committer 2010-05-26 10:30:21 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Wen Heping freebsd_committer 2010-05-26 11:44:38 UTC
Responsible Changed
From-To: freebsd-python->wen

I'll take it.
Comment 5 dfilter service freebsd_committer 2010-05-26 14:20:40 UTC
wen         2010-05-26 13:20:31 UTC

  FreeBSD ports repository

  Modified files:
    astro/py-pyfits      Makefile distinfo pkg-plist 
  - Update to 2.3
  - Pass maintainership to submitter
  PR:             ports/147052
  Submitted by:   Tony Maher <tonymaher@optusnet.com.au>
  Revision  Changes    Path
  1.2       +2 -2      ports/astro/py-pyfits/Makefile
  1.2       +3 -3      ports/astro/py-pyfits/distinfo
  1.2       +45 -6     ports/astro/py-pyfits/pkg-plist
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Wen Heping freebsd_committer 2010-05-26 14:24:13 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!