Date: Sat, 30 Dec 2017 06:42:43 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457586 - in head/astro/py-RO: . files Message-ID: <201712300642.vBU6gh5F069331@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Dec 30 06:42:43 2017 New Revision: 457586 URL: https://svnweb.freebsd.org/changeset/ports/457586 Log: Update RUN_DEPENDS: change from deprecated py-pyfits to py-astropy - Update options: add ASTROPY and remove PYFITS - Add NO_ARCH - Bump PORTREVISION for dependency change Added: head/astro/py-RO/files/ head/astro/py-RO/files/patch-tools-fitsinfo.py (contents, props changed) Modified: head/astro/py-RO/Makefile Modified: head/astro/py-RO/Makefile ============================================================================== --- head/astro/py-RO/Makefile Sat Dec 30 06:42:38 2017 (r457585) +++ head/astro/py-RO/Makefile Sat Dec 30 06:42:43 2017 (r457586) @@ -3,6 +3,7 @@ PORTNAME= RO PORTVERSION= 3.6.9 +PORTREVISION= 1 CATEGORIES= astro python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,18 +16,19 @@ 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 <bsd.port.mk> Added: head/astro/py-RO/files/patch-tools-fitsinfo.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/py-RO/files/patch-tools-fitsinfo.py Sat Dec 30 06:42:43 2017 (r457586) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712300642.vBU6gh5F069331>