git: 7a7adc67c515 - main - astro/astrometry: Update to 0.93

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 10:04:02 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a7adc67c515d0afb695c46af2437669d11e5f46

commit 7a7adc67c515d0afb695c46af2437669d11e5f46
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-12-30 10:01:34 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-12-30 10:03:57 +0000

    astro/astrometry: Update to 0.93
    
    Allow to work with the numpy 1.24 release.
    
    Changes: https://github.com/dstndstn/astrometry.net/releases/tag/0.93
    
    Reported by:    portscout, Repology
---
 astro/astrometry/Makefile                                     |  3 +--
 astro/astrometry/distinfo                                     |  6 +++---
 astro/astrometry/files/os-features-config.h                   |  2 --
 astro/astrometry/files/patch-include_astrometry_os-features.h | 11 +++++++++++
 astro/astrometry/files/patch-util_Makefile                    |  8 ++++----
 5 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile
index 73d6c0494f69..70ffdba310d5 100644
--- a/astro/astrometry/Makefile
+++ b/astro/astrometry/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	astrometry
-PORTVERSION=	0.92
-PORTREVISION=	1
+PORTVERSION=	0.93
 CATEGORIES=	astro
 MASTER_SITES=	http://astrometry.net/downloads/
 DISTNAME=	${PORTNAME}.net-${PORTVERSION}
diff --git a/astro/astrometry/distinfo b/astro/astrometry/distinfo
index ead18ac5ae91..3ca04e0bcbd9 100644
--- a/astro/astrometry/distinfo
+++ b/astro/astrometry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669964707
-SHA256 (astrometry.net-0.92.tar.gz) = d6eec262bb8979028d64ea05322f80eec275d7aaeed5efd537e2a79410c678a5
-SIZE (astrometry.net-0.92.tar.gz) = 11761712
+TIMESTAMP = 1672048951
+SHA256 (astrometry.net-0.93.tar.gz) = 9a4854c87210422e113b8f6855912a38f0b187526171364ee2a889d36c674d70
+SIZE (astrometry.net-0.93.tar.gz) = 11761752
diff --git a/astro/astrometry/files/os-features-config.h b/astro/astrometry/files/os-features-config.h
deleted file mode 100644
index 644a53d2ec55..000000000000
--- a/astro/astrometry/files/os-features-config.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#define NEED_CANONICALIZE_FILE_NAME 1
-#define HAVE_NETPBM 1
diff --git a/astro/astrometry/files/patch-include_astrometry_os-features.h b/astro/astrometry/files/patch-include_astrometry_os-features.h
new file mode 100644
index 000000000000..901d1c92b5cc
--- /dev/null
+++ b/astro/astrometry/files/patch-include_astrometry_os-features.h
@@ -0,0 +1,11 @@
+--- include/astrometry/os-features.h.orig	2022-12-19 21:41:15 UTC
++++ include/astrometry/os-features.h
+@@ -4,6 +4,8 @@
+ */
+ #ifndef OS_FEATURES_H
+ #define OS_FEATURES_H
++#define NEED_CANONICALIZE_FILE_NAME 1
++#define HAVE_NETPBM 1
+ 
+ #include "astrometry/os-features-config.h"
+ 
diff --git a/astro/astrometry/files/patch-util_Makefile b/astro/astrometry/files/patch-util_Makefile
index be9008addd0e..29b648699a10 100644
--- a/astro/astrometry/files/patch-util_Makefile
+++ b/astro/astrometry/files/patch-util_Makefile
@@ -1,6 +1,6 @@
---- util/Makefile.orig	2019-04-22 16:25:30 UTC
+--- util/Makefile.orig	2022-12-19 21:41:15 UTC
 +++ util/Makefile
-@@ -198,7 +198,9 @@ LINK_DIR := $(PY_BASE_LINK_DIR)/util
+@@ -203,7 +203,9 @@ install: install-core
  install: install-core
  	$(MAKE) install-core
  	@echo "The following copy commands may fail; they are optional."
@@ -11,7 +11,7 @@
  	@echo ok
  
  .PHONY: install
-@@ -209,7 +211,9 @@ pyinstall:
+@@ -214,7 +216,9 @@ pyinstall:
  		echo $(CP) $$x '$(PY_INSTALL_DIR)/'$$x; \
  		$(CP) $$x '$(PY_INSTALL_DIR)/'$$x; \
  	done
@@ -22,7 +22,7 @@
  
  .PHONY: pyinstall
  
-@@ -233,8 +237,8 @@ install-core: $(PYTHON_EXECS) $(PROGS) $(MAIN_PROGS) $
+@@ -238,8 +242,8 @@ install-core: $(PYTHON_EXECS) $(PROGS) $(MAIN_PROGS) $
  	done
  	@echo Installing executables into '$(BIN_INSTALL_DIR)'...
  	@for x in $(PROGS) $(MAIN_PROGS); do \