diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2019-01-21 22:50:27 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2019-01-21 22:50:27 +0000 |
commit | 0c02d51ac9bd9121a3cf11ec9a4134a31bff6ab4 (patch) | |
tree | 469863eec6bf9fdda238aa8533434641859b28bf /astro | |
parent | 59d5b7ee20337b3730abd69dc2e6c97732df0e87 (diff) | |
download | ports-0c02d51ac9bd9121a3cf11ec9a4134a31bff6ab4.tar.gz ports-0c02d51ac9bd9121a3cf11ec9a4134a31bff6ab4.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/py-astropy/Makefile | 11 | ||||
-rw-r--r-- | astro/py-astropy/distinfo | 6 | ||||
-rw-r--r-- | astro/py-astropy/files/patch-astropy_io_fits_setup__package.py | 11 | ||||
-rw-r--r-- | astro/py-astropy/files/patch-astropy_modeling_setup__package.py | 12 | ||||
-rw-r--r-- | astro/py-astropy/files/patch-astropy_wcs_setup__package.py | 12 | ||||
-rw-r--r-- | astro/py-astropy/pkg-descr | 2 |
6 files changed, 43 insertions, 11 deletions
diff --git a/astro/py-astropy/Makefile b/astro/py-astropy/Makefile index fa45287d2d0d..068aa5c19d58 100644 --- a/astro/py-astropy/Makefile +++ b/astro/py-astropy/Makefile @@ -2,7 +2,9 @@ # $FreeBSD$ PORTNAME= astropy -PORTVERSION= 3.1.1 +PORTVERSION= 1.1.2 +PORTREVISION= 2 +PORTEPOCH= 1 CATEGORIES= astro MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,12 +17,7 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USES= python:3.5+ +USES= python USE_PYTHON= autoplist distutils -POST_PLIST= rm-bogus-plist-files - -rm-bogus-plist-files: # https://github.com/astropy/astropy/issues/8364 - @${REINPLACE_CMD} '/.*\.\.\/wcs\/tests/d' ${TMPPLIST} - .include <bsd.port.mk> diff --git a/astro/py-astropy/distinfo b/astro/py-astropy/distinfo index 908408fdd381..2f23e3987cb1 100644 --- a/astro/py-astropy/distinfo +++ b/astro/py-astropy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1548103725 -SHA256 (astropy-3.1.1.tar.gz) = 6527e63f9aee01ed14a3e3c0865f8ae1bffadb01c8c755b4452662211216f53b -SIZE (astropy-3.1.1.tar.gz) = 8204190 +TIMESTAMP = 1465919806 +SHA256 (astropy-1.1.2.tar.gz) = 6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1 +SIZE (astropy-1.1.2.tar.gz) = 8059713 diff --git a/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py b/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py new file mode 100644 index 000000000000..e1fa9457aea1 --- /dev/null +++ b/astro/py-astropy/files/patch-astropy_io_fits_setup__package.py @@ -0,0 +1,11 @@ +--- astropy/io/fits/setup_package.py.orig 2016-03-10 22:20:43 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') diff --git a/astro/py-astropy/files/patch-astropy_modeling_setup__package.py b/astro/py-astropy/files/patch-astropy_modeling_setup__package.py new file mode 100644 index 000000000000..98bdaa5f7dda --- /dev/null +++ b/astro/py-astropy/files/patch-astropy_modeling_setup__package.py @@ -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' ] + } + + diff --git a/astro/py-astropy/files/patch-astropy_wcs_setup__package.py b/astro/py-astropy/files/patch-astropy_wcs_setup__package.py new file mode 100644 index 000000000000..a2a12f28f3d8 --- /dev/null +++ b/astro/py-astropy/files/patch-astropy_wcs_setup__package.py @@ -0,0 +1,12 @@ +--- astropy/wcs/setup_package.py.orig 2016-03-10 22:20:43 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']) + + + diff --git a/astro/py-astropy/pkg-descr b/astro/py-astropy/pkg-descr index 484b76ca15cf..acce28f2744c 100644 --- a/astro/py-astropy/pkg-descr +++ b/astro/py-astropy/pkg-descr @@ -3,4 +3,4 @@ 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: https://www.astropy.org +WWW: http://www.astropy.org |