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
This commit is contained in:
Steve Wills 2016-07-02 19:31:16 +00:00
parent e889edec1b
commit c01d766819
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417939
7 changed files with 66 additions and 0 deletions

View file

@ -81,6 +81,7 @@
SUBDIR += py-RO
SUBDIR += py-aipy
SUBDIR += py-astLib
SUBDIR += py-astropy
SUBDIR += py-pyfits
SUBDIR += py-pymetar
SUBDIR += pyephem

21
astro/py-astropy/Makefile Normal file
View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1465919806
SHA256 (astropy-1.1.2.tar.gz) = 6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1
SIZE (astropy-1.1.2.tar.gz) = 8059713

View file

@ -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')

View file

@ -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' ]
}

View file

@ -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'])

View file

@ -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