From owner-svn-ports-all@freebsd.org Sat Dec 30 06:42:47 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AD3EEAD150; Sat, 30 Dec 2017 06:42:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23B9D70F36; Sat, 30 Dec 2017 06:42:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBU6ghxR069333; Sat, 30 Dec 2017 06:42:43 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBU6gh5F069331; Sat, 30 Dec 2017 06:42:43 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201712300642.vBU6gh5F069331@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 30 Dec 2017 06:42:43 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/astro/py-RO: . files X-SVN-Commit-Revision: 457586 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2017 06:42:48 -0000 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 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