Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2016 19:31:17 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417939 - in head/astro: . py-astropy py-astropy/files
Message-ID:  <201607021931.u62JVHtx067479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Jul  2 19:31:16 2016
New Revision: 417939
URL: https://svnweb.freebsd.org/changeset/ports/417939

Log:
  astro/py-astropy: create port
  
  Astropy is a package intended to contain core functionality and some common
  tools needed for performing astronomy and astrophysics research with Python. It
  also provides an index for other astronomy packages and tools for managing
  them.
  
  WWW: http://www.astropy.org
  
  PR:		210278
  Submitted by:	nathanw

Added:
  head/astro/py-astropy/
  head/astro/py-astropy/Makefile   (contents, props changed)
  head/astro/py-astropy/distinfo   (contents, props changed)
  head/astro/py-astropy/files/
  head/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py   (contents, props changed)
  head/astro/py-astropy/files/patch-astropy_modeling_setup__package.py   (contents, props changed)
  head/astro/py-astropy/files/patch-astropy_wcs_setup__package.py   (contents, props changed)
  head/astro/py-astropy/pkg-descr   (contents, props changed)
Modified:
  head/astro/Makefile

Modified: head/astro/Makefile
==============================================================================
--- head/astro/Makefile	Sat Jul  2 19:06:34 2016	(r417938)
+++ head/astro/Makefile	Sat Jul  2 19:31:16 2016	(r417939)
@@ -81,6 +81,7 @@
     SUBDIR += py-RO
     SUBDIR += py-aipy
     SUBDIR += py-astLib
+    SUBDIR += py-astropy
     SUBDIR += py-pyfits
     SUBDIR += py-pymetar
     SUBDIR += pyephem

Added: head/astro/py-astropy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/Makefile	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,21 @@
+# Created by: nwhitehorn
+# $FreeBSD$
+
+PORTNAME=	astropy
+PORTVERSION=	1.1.2
+CATEGORIES=	astro
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nwhitehorn@FreeBSD.org
+COMMENT=	Community-developed python astronomy tools
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${PYNUMPY}
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/astro/py-astropy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/distinfo	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1465919806
+SHA256 (astropy-1.1.2.tar.gz) = 6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1
+SIZE (astropy-1.1.2.tar.gz) = 8059713

Added: head/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,11 @@
+--- astropy/io/fits/setup_package.py.orig	2016-07-02 18:54:36 UTC
++++ astropy/io/fits/setup_package.py
+@@ -39,7 +39,7 @@ def _get_compression_extension():
+                     '-Wno-uninitialized', '-Wno-format',
+                     '-Wno-strict-prototypes', '-Wno-unused', '-Wno-comments',
+                     '-Wno-switch', '-Wno-strict-aliasing', '-Wno-return-type',
+-                    '-Wno-address', '-Wno-unused-result'
++                    '-Wno-address'
+                 ])
+ 
+         cfitsio_path = os.path.join('cextern', 'cfitsio')

Added: head/astro/py-astropy/files/patch-astropy_modeling_setup__package.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/files/patch-astropy_modeling_setup__package.py	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,12 @@
+--- astropy/modeling/setup_package.py.orig	2016-03-10 22:20:43 UTC
++++ astropy/modeling/setup_package.py
+@@ -123,8 +123,7 @@ def preprocess_source():
+ 
+ def get_package_data():
+     return {
+-        'astropy.modeling.tests': ['data/*.fits', 'data/*.hdr',
+-                                   '../../wcs/tests/maps/*.hdr']
++        'astropy.modeling.tests': ['data/*.fits', 'data/*.hdr' ]
+     }
+ 
+ 

Added: head/astro/py-astropy/files/patch-astropy_wcs_setup__package.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/files/patch-astropy_wcs_setup__package.py	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,12 @@
+--- astropy/wcs/setup_package.py.orig	2016-07-02 18:53:24 UTC
++++ astropy/wcs/setup_package.py
+@@ -244,8 +244,7 @@ def get_wcslib_cfg(cfg, wcslib_files, in
+                 '-Wno-strict-prototypes',
+                 '-Wno-unused-function',
+                 '-Wno-unused-value',
+-                '-Wno-uninitialized',
+-                '-Wno-unused-but-set-variable'])
++                '-Wno-uninitialized'])
+ 
+ 
+ 

Added: head/astro/py-astropy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/py-astropy/pkg-descr	Sat Jul  2 19:31:16 2016	(r417939)
@@ -0,0 +1,6 @@
+Astropy is a package intended to contain core functionality and some common
+tools needed for performing astronomy and astrophysics research with Python. It
+also provides an index for other astronomy packages and tools for managing
+them.
+
+WWW: http://www.astropy.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607021931.u62JVHtx067479>