git: 2144cf61ffb3 - main - math/Imath: update to v3.1.12

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 21:33:58 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2144cf61ffb38c89bf2585eb15b76c60c1250518

commit 2144cf61ffb38c89bf2585eb15b76c60c1250518
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-09-10 19:26:56 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-09-10 21:33:37 +0000

    math/Imath: update to v3.1.12
    
    Upstream reports:
    * Support for compiling half.h with hip-runtime-amd
    * Fix improper versioning in cmake and pkgconf configuration files.
    
    Switch to downloading (from Github) the version for which upstream
    provides Sigstore certifications.
---
 math/Imath/Makefile | 14 ++++++++------
 math/Imath/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/math/Imath/Makefile b/math/Imath/Makefile
index cafe4d38b314..ff8253cf8049 100644
--- a/math/Imath/Makefile
+++ b/math/Imath/Makefile
@@ -1,10 +1,14 @@
 # Based on the graphics/ilmbase port that was done by: nork@FreeBSD.org
 
 PORTNAME=	Imath
-PORTVERSION=	3.1.11
-DISTVERSIONPREFIX=	v
-PORTREVISION=	0
+PORTVERSION=	3.1.12
 CATEGORIES=	math devel graphics
+MASTER_SITES=	https://github.com/AcademySoftwareFoundation/${PORTNAME}/releases/download/v${PORTVERSION}/ \
+		LOCAL/mandree/
+# to verify: 'make makesum' and download .sigstore.json to working directory, then:
+# sigstore verify github --cert-identity \
+# https://github.com/AcademySoftwareFoundation/Imath/.github/workflows/release-sign.yml@refs/tags/v3.1.12 \
+# /usr/ports/distfiles/Imath-3.1.12.tar.gz --bundle Imath-3.1.12.tar.gz.sigstore.json
 
 MAINTAINER=	mandree@FreeBSD.org
 COMMENT=	C++/Python lib of 2D/3D vector, matrix, math ops for computer graphics
@@ -14,8 +18,6 @@ LICENSE=	BSD3CLAUSE
 
 USES=		cmake compiler:c++14-lang pathfix pkgconfig
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	AcademySoftwareFoundation
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS+=	-DCMAKE_DEBUG_POSTFIX= \
@@ -44,7 +46,7 @@ PYTHON_CMAKE_BOOL=	PYTHON
 
 _MAJORVER=	3_1
 _VER=		29
-_MINVER=	10
+_MINVER=	11
 _PLVER=		0
 
 post-patch:
diff --git a/math/Imath/distinfo b/math/Imath/distinfo
index 16aa5e935194..5ffa111df77e 100644
--- a/math/Imath/distinfo
+++ b/math/Imath/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709239386
-SHA256 (AcademySoftwareFoundation-Imath-v3.1.11_GH0.tar.gz) = 9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063
-SIZE (AcademySoftwareFoundation-Imath-v3.1.11_GH0.tar.gz) = 596585
+TIMESTAMP = 1725995802
+SHA256 (Imath-3.1.12.tar.gz) = cb8ca9ca77ac4338ebbee911fc90c886011ac5b00088630bacf8ef6c6e522f0a
+SIZE (Imath-3.1.12.tar.gz) = 593114