update to py3-astropy-5.0.2; based on a diff from wen heping
This commit is contained in:
parent
6d4dd0c912
commit
0d82dd54f9
@ -1,16 +1,15 @@
|
||||
COMMENT = community-developed python astronomy tools
|
||||
|
||||
MODPY_EGG_VERSION = 4.0.5
|
||||
MODPY_EGG_VERSION = 5.0.2
|
||||
|
||||
DISTNAME = astropy-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = astro
|
||||
|
||||
HOMEPAGE = https://astropy.org
|
||||
|
||||
# BSD license
|
||||
# BSD
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += pthread
|
||||
@ -22,14 +21,31 @@ FLAVOR = python3
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PYTEST_ARGS = astropy
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
BUILD_DEPENDS = devel/py-wheel${MODPY_FLAVOR} \
|
||||
BUILD_DEPENDS = devel/py-extension-helpers${MODPY_FLAVOR} \
|
||||
devel/py-wheel${MODPY_FLAVOR} \
|
||||
lang/cython${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR} \
|
||||
www/py-jinja2${MODPY_FLAVOR}
|
||||
|
||||
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR}
|
||||
RUN_DEPENDS = astro/py-erfa${MODPY_FLAVOR} \
|
||||
sysutils/py-packaging${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR} \
|
||||
math/py-scipy${MODPY_FLAVOR} \
|
||||
textproc/py-yaml${MODPY_FLAVOR}
|
||||
|
||||
PORTHOME = ${WRKDIR}
|
||||
TEST_DEPENDS = astro/py-skyfield${MODPY_FLAVOR} \
|
||||
devel/py-objgraph${MODPY_FLAVOR} \
|
||||
devel/py-test-astropy${MODPY_FLAVOR} \
|
||||
devel/py-test-xdist${MODPY_FLAVOR} \
|
||||
graphics/py-matplotlib${MODPY_FLAVOR} \
|
||||
math/py-h5py${MODPY_FLAVOR} \
|
||||
math/py-pandas${MODPY_FLAVOR} \
|
||||
math/py-scikit-image${MODPY_FLAVOR}
|
||||
|
||||
pre-test:
|
||||
cd ${WRKSRC} && ${MODPY_CMD} build_ext --inplace
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (astropy-4.0.5.tar.gz) = C5rAa8ac9N2LZY5+lGHqYBj3jIfP0JTIk8EcteA0rDA=
|
||||
SIZE (astropy-4.0.5.tar.gz) = 8377601
|
||||
SHA256 (astropy-5.0.2.tar.gz) = RJ8LpecpJFfu03VQsEdER1GmBue4o0+TscKNC7Y+f0A=
|
||||
SIZE (astropy-5.0.2.tar.gz) = 7837851
|
||||
|
@ -3,7 +3,7 @@ malloc.h is not standard, even on sparc
|
||||
Index: cextern/cfitsio/lib/eval_l.c
|
||||
--- cextern/cfitsio/lib/eval_l.c.orig
|
||||
+++ cextern/cfitsio/lib/eval_l.c
|
||||
@@ -662,11 +662,7 @@ char *fftext;
|
||||
@@ -663,11 +663,7 @@ char *fftext;
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user