astro/py-astropy: Update 1.1.2 -> 3.1.1
Port changes: * Replace WWW with the https version * Now only works for pythion 3.5+ * Add a fix for the wrong plist problem * Remove patches for compiler warnings, reported them upstream PR: 231279 Approved by: nwhitehorn@FreeBSD.org (maintainer's timeout; 132 days)
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= astropy
|
||||
PORTVERSION= 1.1.2
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 3.1.1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@@ -16,7 +15,12 @@ LICENSE= BSD3CLAUSE
|
||||
BUILD_DEPENDS= ${PYNUMPY}
|
||||
RUN_DEPENDS= ${PYNUMPY}
|
||||
|
||||
USES= python
|
||||
USES= python:3.5+
|
||||
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>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1465919806
|
||||
SHA256 (astropy-1.1.2.tar.gz) = 6f0d84cd7dfb304bb437dda666406a1d42208c16204043bc920308ff8ffdfad1
|
||||
SIZE (astropy-1.1.2.tar.gz) = 8059713
|
||||
TIMESTAMP = 1548103725
|
||||
SHA256 (astropy-3.1.1.tar.gz) = 6527e63f9aee01ed14a3e3c0865f8ae1bffadb01c8c755b4452662211216f53b
|
||||
SIZE (astropy-3.1.1.tar.gz) = 8204190
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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')
|
||||
@@ -1,12 +0,0 @@
|
||||
--- 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' ]
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- 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'])
|
||||
|
||||
|
||||
|
||||
@@ -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: http://www.astropy.org
|
||||
WWW: https://www.astropy.org
|
||||
|
||||
Reference in New Issue
Block a user