pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-fits py-fits: update to 3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/249b818bb728
branches:  trunk
changeset: 369521:249b818bb728
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Sep 30 10:10:04 2017 +0000

description:
py-fits: update to 3.4

3.4:
This release removes support for Python 2.5, as well as Python 3.0 - 3.2.
Supported Python versions are now Python 2.6, 2.7, and 3.3+.  This
release incorporates new features and bug fixes made in the
``astropy.io.fits`` module in Astropy, which is originally based on PyFITS
and supersedes the stand-alone PyFITS module.

This will likely be the last stand-alone release of PyFITS that does not
depend on Astropy.  There are a few reasons for this:

1) Development resources for PyFITS are limited, and better focused on
   newer projects.

2) Astropy incorporates all features of PyFITS, and has many new features
   from which future development of the FITS reader/writer can benefit, such
   as a better table interface, units, and datetime types.  Since the most
   beneficial future development in ``astropy.io.fits`` depends on other
   parts of Astropy there is less motivation to maintain an independent FITS
   module.

This release contains most changes to the ``astropy.io.fits`` module that
have been made since the last release of PyFITS (v3.3), except for changes
that depend explicitly on other parts of Astropy.  This brings PyFITS mostly
to parity with the version of ``astropy.io.fits`` that will be in Astropy
v1.1.2.

diffstat:

 graphics/py-fits/Makefile |  10 ++++++----
 graphics/py-fits/PLIST    |  30 +++++++++++++++++++++++++++++-
 graphics/py-fits/distinfo |  10 +++++-----
 3 files changed, 40 insertions(+), 10 deletions(-)

diffs (120 lines):

diff -r 69840a00b4af -r 249b818bb728 graphics/py-fits/Makefile
--- a/graphics/py-fits/Makefile Sat Sep 30 10:09:28 2017 +0000
+++ b/graphics/py-fits/Makefile Sat Sep 30 10:10:04 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2016/08/28 17:47:47 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2017/09/30 10:10:04 adam Exp $
 
-DISTNAME=      pyfits-3.2
+DISTNAME=      pyfits-3.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyfits/}
@@ -10,14 +10,16 @@
 COMMENT=       Python module for reading, writing, and manipulating FITS files
 LICENSE=       modified-bsd
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-stsci.distutils-[0-9]*:../../devel/py-stsci.distutils
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-d2to1>=0.2.12:../../devel/py-d2to1
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-stsci.distutils>=0.3:../../devel/py-stsci.distutils
 
 REPLACE_PYTHON=        lib/pyfits/core.py
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
                ${MV} fitscheck fitscheck${PYVERSSUFFIX} && \
-               ${MV} fitsdiff fitsdiff${PYVERSSUFFIX}
+               ${MV} fitsdiff fitsdiff${PYVERSSUFFIX} && \
+               ${MV} fitshead fitshead${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff -r 69840a00b4af -r 249b818bb728 graphics/py-fits/PLIST
--- a/graphics/py-fits/PLIST    Sat Sep 30 10:09:28 2017 +0000
+++ b/graphics/py-fits/PLIST    Sat Sep 30 10:10:04 2017 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2014/01/19 20:30:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/09/30 10:10:04 adam Exp $
 bin/fitscheck${PYVERSSUFFIX}
 bin/fitsdiff${PYVERSSUFFIX}
+bin/fitshead${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,6 +12,18 @@
 ${PYSITELIB}/pyfits/__init__.py
 ${PYSITELIB}/pyfits/__init__.pyc
 ${PYSITELIB}/pyfits/__init__.pyo
+${PYSITELIB}/pyfits/_compat/__init__.py
+${PYSITELIB}/pyfits/_compat/__init__.pyc
+${PYSITELIB}/pyfits/_compat/__init__.pyo
+${PYSITELIB}/pyfits/_compat/odict.py
+${PYSITELIB}/pyfits/_compat/odict.pyc
+${PYSITELIB}/pyfits/_compat/odict.pyo
+${PYSITELIB}/pyfits/_compat/weakref.py
+${PYSITELIB}/pyfits/_compat/weakref.pyc
+${PYSITELIB}/pyfits/_compat/weakref.pyo
+${PYSITELIB}/pyfits/_numpy_hacks.py
+${PYSITELIB}/pyfits/_numpy_hacks.pyc
+${PYSITELIB}/pyfits/_numpy_hacks.pyo
 ${PYSITELIB}/pyfits/_release.py
 ${PYSITELIB}/pyfits/_release.pyc
 ${PYSITELIB}/pyfits/_release.pyo
@@ -30,6 +43,12 @@
 ${PYSITELIB}/pyfits/diff.py
 ${PYSITELIB}/pyfits/diff.pyc
 ${PYSITELIB}/pyfits/diff.pyo
+${PYSITELIB}/pyfits/extern/__init__.py
+${PYSITELIB}/pyfits/extern/__init__.pyc
+${PYSITELIB}/pyfits/extern/__init__.pyo
+${PYSITELIB}/pyfits/extern/six.py
+${PYSITELIB}/pyfits/extern/six.pyc
+${PYSITELIB}/pyfits/extern/six.pyo
 ${PYSITELIB}/pyfits/file.py
 ${PYSITELIB}/pyfits/file.pyc
 ${PYSITELIB}/pyfits/file.pyo
@@ -78,20 +97,29 @@
 ${PYSITELIB}/pyfits/scripts/fitsdiff.py
 ${PYSITELIB}/pyfits/scripts/fitsdiff.pyc
 ${PYSITELIB}/pyfits/scripts/fitsdiff.pyo
+${PYSITELIB}/pyfits/scripts/fitsheader.py
+${PYSITELIB}/pyfits/scripts/fitsheader.pyc
+${PYSITELIB}/pyfits/scripts/fitsheader.pyo
+${PYSITELIB}/pyfits/scripts/fitsinfo.py
+${PYSITELIB}/pyfits/scripts/fitsinfo.pyc
+${PYSITELIB}/pyfits/scripts/fitsinfo.pyo
 ${PYSITELIB}/pyfits/tests/__init__.py
 ${PYSITELIB}/pyfits/tests/__init__.pyc
 ${PYSITELIB}/pyfits/tests/__init__.pyo
 ${PYSITELIB}/pyfits/tests/data/arange.fits
 ${PYSITELIB}/pyfits/tests/data/ascii.fits
+${PYSITELIB}/pyfits/tests/data/blank.fits
 ${PYSITELIB}/pyfits/tests/data/checksum.fits
 ${PYSITELIB}/pyfits/tests/data/comp.fits
 ${PYSITELIB}/pyfits/tests/data/fixed-1890.fits
+${PYSITELIB}/pyfits/tests/data/memtest.fits
 ${PYSITELIB}/pyfits/tests/data/o4sp040b0_raw.fits
 ${PYSITELIB}/pyfits/tests/data/random_groups.fits
 ${PYSITELIB}/pyfits/tests/data/scale.fits
 ${PYSITELIB}/pyfits/tests/data/stddata.fits
 ${PYSITELIB}/pyfits/tests/data/table.fits
 ${PYSITELIB}/pyfits/tests/data/tb.fits
+${PYSITELIB}/pyfits/tests/data/tdim.fits
 ${PYSITELIB}/pyfits/tests/data/test0.fits
 ${PYSITELIB}/pyfits/tests/data/zerowidth.fits
 ${PYSITELIB}/pyfits/tests/test_checksum.py
diff -r 69840a00b4af -r 249b818bb728 graphics/py-fits/distinfo
--- a/graphics/py-fits/distinfo Sat Sep 30 10:09:28 2017 +0000
+++ b/graphics/py-fits/distinfo Sat Sep 30 10:10:04 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 21:34:16 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/30 10:10:04 adam Exp $
 
-SHA1 (pyfits-3.2.tar.gz) = 9257d0fd96e8fd5b8423d6859b16528ae52c0735
-RMD160 (pyfits-3.2.tar.gz) = 1b77e7f731e1370a2ca64ad6298d350ac4cf2eef
-SHA512 (pyfits-3.2.tar.gz) = 0942dd327608c22e828d227a1126f360df19456ba26914afa57a1a847a4dfec90954224f48e782dc458cda6d7a045beed0d9c0b750ebcebe4a56dc3b54f86494
-Size (pyfits-3.2.tar.gz) = 1606650 bytes
+SHA1 (pyfits-3.4.tar.gz) = 3fa0e0c51f2a2a30384aea0de226cf5da05fce57
+RMD160 (pyfits-3.4.tar.gz) = 28c9139f9d087a7d76b5d2f5903e0bd19e448081
+SHA512 (pyfits-3.4.tar.gz) = b569f871f26dcd9cb2fbe9d823d55c525e8101b0fcf83fff4bc3f3ec4bc7f680953a29634518ea19383f533f5e23b3703fffdb4e0d577b1023b4323254ef3a7e
+Size (pyfits-3.4.tar.gz) = 1692414 bytes



Home | Main Index | Thread Index | Old Index