git: f058601c6c5b - main - misc/ezc3d: Update 1.4.10 -> 1.5.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 20 Jun 2022 20:57:49 UTC
The branch main has been updated by yuri:

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

commit f058601c6c5b969c6075198a058fe0c4db2be4fa
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-20 20:11:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-20 20:57:34 +0000

    misc/ezc3d: Update 1.4.10 -> 1.5.0
    
    Reported by:    portscout
---
 misc/ezc3d/Makefile | 12 ++++++++++--
 misc/ezc3d/distinfo |  8 +++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/misc/ezc3d/Makefile b/misc/ezc3d/Makefile
index b77b0a25848e..cc9bfff213e7 100644
--- a/misc/ezc3d/Makefile
+++ b/misc/ezc3d/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ezc3d
 DISTVERSIONPREFIX=	Release_
-DISTVERSION=	1.4.10
+DISTVERSION=	1.5.0
 CATEGORIES=	misc
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,9 +9,17 @@ COMMENT=	C3D (biomechanics data format) reader/writer for C++
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake:testing compiler:c++11-lang python:test
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pyomeca
+GH_TUPLE=	google:googletest:3880b13:googletest/external/gtest # https://github.com/pyomeca/ezc3d/issues/256
+
+CMAKE_TESTING_ON=	BUILD_TESTS
+
+CMAKE_TESTING_TARGET=	gtest
+
+post-test: # run tests, many tests fail: https://github.com/pyomeca/ezc3d/issues/257
+	@cd ${WRKSRC} && ${TEST_WRKSRC}/test/ezc3d_test
 
 .include <bsd.port.mk>
diff --git a/misc/ezc3d/distinfo b/misc/ezc3d/distinfo
index dacff4a1b2e4..db6de1ac92d8 100644
--- a/misc/ezc3d/distinfo
+++ b/misc/ezc3d/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1653688651
-SHA256 (pyomeca-ezc3d-Release_1.4.10_GH0.tar.gz) = 8ea3ee86a4edf47993c741cb5fc56256ff02d2feb8469a58905bd931db26e134
-SIZE (pyomeca-ezc3d-Release_1.4.10_GH0.tar.gz) = 943901
+TIMESTAMP = 1655755091
+SHA256 (pyomeca-ezc3d-Release_1.5.0_GH0.tar.gz) = 8387857d989f5bbb62869ec930b417e6d0a303eef9b39e8b0e6b35437d5809ce
+SIZE (pyomeca-ezc3d-Release_1.5.0_GH0.tar.gz) = 943845
+SHA256 (google-googletest-3880b13_GH0.tar.gz) = ea3d403a3de3ab084841ec97efa440fb45d5f2fbe4eb09a22ccb9643a6af11ba
+SIZE (google-googletest-3880b13_GH0.tar.gz) = 962793