aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-06-20 20:11:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-06-20 20:57:34 +0000
commitf058601c6c5b969c6075198a058fe0c4db2be4fa (patch)
treefd73d631d07216aef413359848de148caef2eae2
parent084136890425806fdd28ee57a83cd71ed0d531c5 (diff)
downloadports-f058601c6c5b969c6075198a058fe0c4db2be4fa.tar.gz
ports-f058601c6c5b969c6075198a058fe0c4db2be4fa.zip
misc/ezc3d: Update 1.4.10 -> 1.5.0
Reported by: portscout
-rw-r--r--misc/ezc3d/Makefile12
-rw-r--r--misc/ezc3d/distinfo8
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