summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner>2011-03-11 14:55:43 +0000
committerdrochner <drochner>2011-03-11 14:55:43 +0000
commitf76cf92ad80030662bed6eade5abc2f2edd0c078 (patch)
treefb2aba2c48b6203ef709c25ab32102c6e43deac8 /graphics
parent90140225d1c7d7194ef99d77bc25d4ba390f0bde (diff)
downloadpkgsrc-f76cf92ad80030662bed6eade5abc2f2edd0c078.tar.gz
update to 2.4.0
changes: -Added some HDU methods for metadata -Enhanced the section class to allow reading non-contiguous image data -Added a verify keyword argument to the pyfits.append function -Added a new optional keyword arguments disable_image_compression and do_not_scale_image_data to pyfits.open -Checksum support now correctly conforms to the FITS standard -bugfixes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-pyfits/Makefile8
-rw-r--r--graphics/py-pyfits/PLIST13
-rw-r--r--graphics/py-pyfits/distinfo9
-rw-r--r--graphics/py-pyfits/patches/patch-aa11
4 files changed, 24 insertions, 17 deletions
diff --git a/graphics/py-pyfits/Makefile b/graphics/py-pyfits/Makefile
index c53f4bbb924..d06bb762f40 100644
--- a/graphics/py-pyfits/Makefile
+++ b/graphics/py-pyfits/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/11/11 21:13:39 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2011/03/11 14:55:43 drochner Exp $
#
-DISTNAME= pyfits-2.3.1
+DISTNAME= pyfits-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics
MASTER_SITES= http://www.stsci.edu/resources/software_hardware/pyfits/
@@ -15,6 +15,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
+pre-configure:
+ ${MV} ${WRKSRC}/scripts/fitscheck \
+ ${WRKSRC}/scripts/fitscheck${PYVERSSUFFIX}
+
.include "../../lang/python/extension.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-pyfits/PLIST b/graphics/py-pyfits/PLIST
index 7df4ff22f3f..914d9d17c6a 100644
--- a/graphics/py-pyfits/PLIST
+++ b/graphics/py-pyfits/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/11 21:13:39 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2011/03/11 14:55:43 drochner Exp $
+bin/fitscheck2.5
${PYSITELIB}/pyfits/__init__.py
${PYSITELIB}/pyfits/__init__.pyc
${PYSITELIB}/pyfits/__init__.pyo
@@ -15,16 +16,6 @@ ${PYSITELIB}/pyfits/svn_version.pyo
${PYSITELIB}/pyfits/tests/__init__.py
${PYSITELIB}/pyfits/tests/__init__.pyc
${PYSITELIB}/pyfits/tests/__init__.pyo
-${PYSITELIB}/pyfits/tests/arange.fits
-${PYSITELIB}/pyfits/tests/ascii.fits
-${PYSITELIB}/pyfits/tests/checksum.fits
-${PYSITELIB}/pyfits/tests/comp.fits
-${PYSITELIB}/pyfits/tests/o4sp040b0_raw.fits
-${PYSITELIB}/pyfits/tests/scale.fits
-${PYSITELIB}/pyfits/tests/stddata.fits
-${PYSITELIB}/pyfits/tests/table.fits
-${PYSITELIB}/pyfits/tests/tb.fits
-${PYSITELIB}/pyfits/tests/test0.fits
${PYSITELIB}/pyfits/tests/testCore.py
${PYSITELIB}/pyfits/tests/testCore.pyc
${PYSITELIB}/pyfits/tests/testCore.pyo
diff --git a/graphics/py-pyfits/distinfo b/graphics/py-pyfits/distinfo
index 3bcc6227115..75a771c2981 100644
--- a/graphics/py-pyfits/distinfo
+++ b/graphics/py-pyfits/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/11/11 21:13:39 drochner Exp $
+$NetBSD: distinfo,v 1.2 2011/03/11 14:55:43 drochner Exp $
-SHA1 (pyfits-2.3.1.tar.gz) = cd6ab6f01d937dd2ad5f28076e351e05767866ae
-RMD160 (pyfits-2.3.1.tar.gz) = 0a2131c05499e5340f972825e71e8e03ae4154b4
-Size (pyfits-2.3.1.tar.gz) = 380022 bytes
+SHA1 (pyfits-2.4.0.tar.gz) = 5a0c9c7fd058fc44a22f1c00682461ecf4ebc3c1
+RMD160 (pyfits-2.4.0.tar.gz) = 3256f2111db7c994f1deb7d6ec37cb6a2a003fb0
+Size (pyfits-2.4.0.tar.gz) = 284236 bytes
+SHA1 (patch-aa) = b1d6964efdee73628f716e37e0dc1c18d17e7610
diff --git a/graphics/py-pyfits/patches/patch-aa b/graphics/py-pyfits/patches/patch-aa
new file mode 100644
index 00000000000..379b57afb04
--- /dev/null
+++ b/graphics/py-pyfits/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1 2011/03/11 14:55:43 drochner Exp $
+
+--- defsetup.py.orig 2011-02-16 16:45:15.000000000 +0000
++++ defsetup.py
+@@ -60,5 +60,5 @@ setupargs = {
+ 'cmdclass' : {'build_ext': build_ext,},
+ 'package_dir' : { 'pyfits' : 'lib', 'pyfits.tests' : 'lib/tests' },
+ 'data_files' : [ ( 'pyfits/tests', [ 'lib/tests/*.fits' ] ) ],
+- 'scripts' : ['scripts/fitscheck'],
++ 'scripts' : ['scripts/fitscheck' + sys.version[0:3]],
+ }