aboutsummaryrefslogtreecommitdiffstats
path: root/astro/py-pyfits
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-06 22:42:02 +0800
committerwg <wg@FreeBSD.org>2013-11-06 22:42:02 +0800
commitf0fb9e8926a9cd13f3d9bb675a4d7d56995c4621 (patch)
tree8e89867fcd924301b0b8882ffb64291ef39cbbb5 /astro/py-pyfits
parent117813fd2472bbd937ad9875844e37da92bb60c2 (diff)
downloadfreebsd-ports-gnome-f0fb9e8926a9cd13f3d9bb675a4d7d56995c4621.tar.gz
freebsd-ports-gnome-f0fb9e8926a9cd13f3d9bb675a4d7d56995c4621.tar.zst
freebsd-ports-gnome-f0fb9e8926a9cd13f3d9bb675a4d7d56995c4621.zip
astro/py-pyfits: update to 3.1.2
- Update to 3.1.2 [1] - Adjust run depends - Use python auto plist PR: ports/180464 [1] Submitted by: nwhitehorn Approved by: maintainer
Diffstat (limited to 'astro/py-pyfits')
-rw-r--r--astro/py-pyfits/Makefile18
-rw-r--r--astro/py-pyfits/distinfo4
-rw-r--r--astro/py-pyfits/pkg-plist52
3 files changed, 13 insertions, 61 deletions
diff --git a/astro/py-pyfits/Makefile b/astro/py-pyfits/Makefile
index 41966d234127..b37159094247 100644
--- a/astro/py-pyfits/Makefile
+++ b/astro/py-pyfits/Makefile
@@ -2,20 +2,24 @@
# $FreeBSD$
PORTNAME= pyfits
-PORTVERSION= 2.3
-PORTREVISION= 1
+PORTVERSION= 3.1.2
CATEGORIES= astro python
-MASTER_SITES= http://www.stsci.edu/resources/software_hardware/${PORTNAME}/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tonymaher@optusnet.com.au
COMMENT= Python Interface to FITS Formatted Files
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-NO_STAGE= yes
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1 \
+ ${PYTHON_PKGNAMEPREFIX}stsci.distutils>=0:${PORTSDIR}/devel/py-stsci.distutils
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_AUTOPLIST= yes
+PYEASYINSTALL_ARCHDEP= yes
+NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/astro/py-pyfits/distinfo b/astro/py-pyfits/distinfo
index 70b882d4b88c..a76e8384db61 100644
--- a/astro/py-pyfits/distinfo
+++ b/astro/py-pyfits/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pyfits-2.3.tar.gz) = 29e32040ffe96a25336c599f4ca1e560a1bc7d3fdc22638911797525ed3c3208
-SIZE (pyfits-2.3.tar.gz) = 347960
+SHA256 (pyfits-3.1.2.tar.gz) = 35aaad59f37a46a06c8da37608de0e6448062cef49b06fa0bbd3f9a75dc99239
+SIZE (pyfits-3.1.2.tar.gz) = 794495
diff --git a/astro/py-pyfits/pkg-plist b/astro/py-pyfits/pkg-plist
deleted file mode 100644
index 18f5a2db8382..000000000000
--- a/astro/py-pyfits/pkg-plist
+++ /dev/null
@@ -1,52 +0,0 @@
-%%PYTHON_SITELIBDIR%%/pyfits/__init__.py
-%%PYTHON_SITELIBDIR%%/pyfits/__init__.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/__init__.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/core.py
-%%PYTHON_SITELIBDIR%%/pyfits/core.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/core.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/pyfitsComp.so
-%%PYTHON_SITELIBDIR%%/pyfits/rec.py
-%%PYTHON_SITELIBDIR%%/pyfits/rec.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/rec.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/svn_version.py
-%%PYTHON_SITELIBDIR%%/pyfits/svn_version.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/svn_version.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/__init__.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/__init__.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/__init__.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testCore.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testCore.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testCore.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsChecksum.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsChecksum.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsChecksum.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsDivision.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsDivision.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsDivision.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsHDUList.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsHDUList.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsHDUList.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsImage.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsImage.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsImage.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testStructured.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testStructured.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testStructured.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsTable.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsTable.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testPyfitsTable.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testUint.py
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testUint.pyc
-%%PYTHON_SITELIBDIR%%/pyfits/tests/testUint.pyo
-%%PYTHON_SITELIBDIR%%/pyfits/tests/scale.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/stddata.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/table.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/ascii.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/arange.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/comp.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/test0.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/checksum.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/o4sp040b0_raw.fits
-%%PYTHON_SITELIBDIR%%/pyfits/tests/tb.fits
-@dirrm %%PYTHON_SITELIBDIR%%/pyfits/tests
-@dirrm %%PYTHON_SITELIBDIR%%/pyfits