mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
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
|
@ -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
21
astro/py-astropy/Makefile
Normal 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>
|
3
astro/py-astropy/distinfo
Normal file
3
astro/py-astropy/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1465919806
|
||||
SHA256 (astropy-1.1.2.tar.gz) = 6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1
|
||||
SIZE (astropy-1.1.2.tar.gz) = 8059713
|
|
@ -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')
|
|
@ -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' ]
|
||||
}
|
||||
|
||||
|
12
astro/py-astropy/files/patch-astropy_wcs_setup__package.py
Normal file
12
astro/py-astropy/files/patch-astropy_wcs_setup__package.py
Normal 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'])
|
||||
|
||||
|
||||
|
6
astro/py-astropy/pkg-descr
Normal file
6
astro/py-astropy/pkg-descr
Normal 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
|
Loading…
Add table
Reference in a new issue