Index: head/astro/py-RO/Makefile =================================================================== --- head/astro/py-RO/Makefile (revision 457585) +++ head/astro/py-RO/Makefile (revision 457586) @@ -1,32 +1,34 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= RO PORTVERSION= 3.6.9 +PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Package of Python astronomical utilities LICENSE= MIT BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:math/py-numpy@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS_DEFINE= MATPLOTLIB PYFITS PYGAME -OPTIONS_DEFAULT= PYFITS +OPTIONS_DEFINE= ASTROPY MATPLOTLIB PYGAME +OPTIONS_DEFAULT= ASTROPY +ASTROPY_DESC= Add Support for Astropy MATPLOTLIB_DESC= Add support for Matplotlib -PYFITS_DESC= Add Support for PyFITS PYGAME_DESC= Add Support for PyGame +NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils -MATPLOTLIB_RUN_DEPENDS= ${PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${FLAVOR} -PYFITS_RUN_DEPENDS= ${PKGNAMEPREFIX}pyfits>=1.1:astro/py-pyfits@${FLAVOR} -PYGAME_RUN_DEPENDS= ${PKGNAMEPREFIX}game>=1.8.1:devel/py-game@${FLAVOR} +ASTROPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=0:astro/py-astropy@${FLAVOR} +MATPLOTLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${FLAVOR} +PYGAME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>=1.8.1:devel/py-game@${FLAVOR} .include Index: head/astro/py-RO/files/patch-tools-fitsinfo.py =================================================================== --- head/astro/py-RO/files/patch-tools-fitsinfo.py (nonexistent) +++ head/astro/py-RO/files/patch-tools-fitsinfo.py (revision 457586) @@ -0,0 +1,11 @@ +--- tools/fitsinfo.py.orig 2014-09-18 18:19:45 UTC ++++ tools/fitsinfo.py +@@ -2,7 +2,7 @@ + from __future__ import absolute_import, division, print_function + import argparse + import numpy +-import pyfits ++import astropy.io.fits as pyfits + + def fitsInfo(filePath, hduList=None, showHeader=True, showStats=True): + """Print information about a FITS file Property changes on: head/astro/py-RO/files/patch-tools-fitsinfo.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property