ports/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py
Steve Wills c01d766819 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
2016-07-02 19:31:16 +00:00

11 lines
547 B
Python

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