summaryrefslogtreecommitdiff
path: root/astro/py-sunpy
diff options
context:
space:
mode:
Diffstat (limited to 'astro/py-sunpy')
-rw-r--r--astro/py-sunpy/Makefile3
-rw-r--r--astro/py-sunpy/distinfo6
-rw-r--r--astro/py-sunpy/files/patch-sunpy_io_src_ana___pyana.c14
3 files changed, 19 insertions, 4 deletions
diff --git a/astro/py-sunpy/Makefile b/astro/py-sunpy/Makefile
index ab5ad8fba91f..073cebeed1ac 100644
--- a/astro/py-sunpy/Makefile
+++ b/astro/py-sunpy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sunpy
-DISTVERSION= 7.0.0
+DISTVERSION= 7.0.1
+PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/astro/py-sunpy/distinfo b/astro/py-sunpy/distinfo
index 2e0d5203a6c9..f8f108c90fd1 100644
--- a/astro/py-sunpy/distinfo
+++ b/astro/py-sunpy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751350865
-SHA256 (sunpy-7.0.0.tar.gz) = 80d8c74b2c444c13a7f7c03e182712fce18f7c9bfa84869804e3ac360937a0e4
-SIZE (sunpy-7.0.0.tar.gz) = 4198222
+TIMESTAMP = 1754620981
+SHA256 (sunpy-7.0.1.tar.gz) = f59086f42b53a6018696ab57725d9ea5107315c6d5bc833365c5e4e42439ffe0
+SIZE (sunpy-7.0.1.tar.gz) = 4199162
diff --git a/astro/py-sunpy/files/patch-sunpy_io_src_ana___pyana.c b/astro/py-sunpy/files/patch-sunpy_io_src_ana___pyana.c
new file mode 100644
index 000000000000..d8846690c0ef
--- /dev/null
+++ b/astro/py-sunpy/files/patch-sunpy_io_src_ana___pyana.c
@@ -0,0 +1,14 @@
+--- sunpy/io/src/ana/_pyana.c.orig 2025-07-01 07:29:54 UTC
++++ sunpy/io/src/ana/_pyana.c
+@@ -6,11 +6,6 @@ a cleaned up version of the original anarw routines.
+ a cleaned up version of the original anarw routines.
+ */
+
+-// Needed due to https://github.com/numpy/numpy/issues/16970
+-struct _typeobject {
+- int foo;
+-};
+-
+ #include <Python.h> // For python extension
+ #define NPY_NO_DEPRECATED_API NPY_2_0_API_VERSION
+ #include <numpy/arrayobject.h> // For numpy