diff --git a/misc/ezc3d/Makefile b/misc/ezc3d/Makefile index e4189bdecfc5..b969144406a0 100644 --- a/misc/ezc3d/Makefile +++ b/misc/ezc3d/Makefile @@ -1,26 +1,26 @@ PORTNAME= ezc3d DISTVERSIONPREFIX= Release_ -DISTVERSION= 1.5.8 +DISTVERSION= 1.5.9 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= C3D (biomechanics data format) reader/writer for C++ WWW= https://github.com/pyomeca/ezc3d LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE 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: @cd ${TEST_WRKSRC}/test && ./ezc3d_test .include diff --git a/misc/ezc3d/distinfo b/misc/ezc3d/distinfo index 4b1005afb0b0..7ae1cc68ac04 100644 --- a/misc/ezc3d/distinfo +++ b/misc/ezc3d/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1707811217 -SHA256 (pyomeca-ezc3d-Release_1.5.8_GH0.tar.gz) = 1b94da2491d6fb223e4d945451c8b6a192bfa06351eb4b59e49d82770453cb5f -SIZE (pyomeca-ezc3d-Release_1.5.8_GH0.tar.gz) = 948567 +TIMESTAMP = 1708065804 +SHA256 (pyomeca-ezc3d-Release_1.5.9_GH0.tar.gz) = dcc4df2097eadb33773aa1563621ad07e3758296a66974fe95fc9e27ee74aebd +SIZE (pyomeca-ezc3d-Release_1.5.9_GH0.tar.gz) = 948575 SHA256 (google-googletest-3880b13_GH0.tar.gz) = ea3d403a3de3ab084841ec97efa440fb45d5f2fbe4eb09a22ccb9643a6af11ba SIZE (google-googletest-3880b13_GH0.tar.gz) = 962793 diff --git a/misc/py-ezc3d/Makefile b/misc/py-ezc3d/Makefile index 4a71d67bf122..27384262558e 100644 --- a/misc/py-ezc3d/Makefile +++ b/misc/py-ezc3d/Makefile @@ -1,55 +1,55 @@ PORTNAME= ezc3d DISTVERSIONPREFIX= Release_ -DISTVERSION= 1.5.8 +DISTVERSION= 1.5.9 CATEGORIES= misc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= C3D (biomechanics data format) reader/writer WWW= https://github.com/pyomeca/ezc3d LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ cmake:devel/cmake-core \ swig:devel/swig RUN_DEPENDS= ${PYNUMPY} USES= python USE_PYTHON= distutils pytest # autoplist is broken due to https://github.com/pyomeca/ezc3d/issues/258 ; 3 tests fail, see https://github.com/pyomeca/ezc3d/issues/291 USE_GITHUB= yes GH_ACCOUNT= pyomeca GH_TUPLE= google:googletest:3880b13:googletest/external/gtest # https://github.com/pyomeca/ezc3d/issues/256 TEST_ARGS= ${WRKSRC}/test/python3 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: # remove unnecessary C++ headers, see https://github.com/pyomeca/ezc3d/issues/258 @${RM} -r ${STAGEDIR}${PREFIX}/include/* # strip binaries @cd ${STAGEDIR}/${PYTHON_SITELIBDIR} && \ ${STRIP_CMD} \ ezc3d/_ezc3d.so \ ezc3d/libezc3d.so pre-test: # download test c3d files # download archives @${MKDIR} ${WRKSRC}/test/c3dFiles @cd ${WRKDIR} && ${FETCH_CMD} -q https://github.com/pyomeca/ezc3d-testFiles/archive/master.zip -o ${WRKSRC}/test/c3dFiles/ezc3d-testFiles-master.zip .for f in Sample01.zip Sample02.zip @cd ${WRKDIR} && ${FETCH_CMD} -q https://www.c3d.org/data/${f} -o ${WRKSRC}/test/c3dFiles/${f} .endfor # extract archives .for n in ezc3d-testFiles-master Sample01 Sample02 @cd ${WRKSRC}/test/c3dFiles && ${MKDIR} ${n} && cd ${n} && ${TAR} -xf ../${n}.zip .endfor # move *.c3d files into a flat folder @${MKDIR} ${WRKSRC}/test/c3dTestFiles @${CP} `${FIND} ${WRKSRC} -name "*.c3d"` ${WRKSRC}/test/c3dTestFiles .include diff --git a/misc/py-ezc3d/distinfo b/misc/py-ezc3d/distinfo index fa2d26ad1212..32c5b1845697 100644 --- a/misc/py-ezc3d/distinfo +++ b/misc/py-ezc3d/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1707811387 -SHA256 (pyomeca-ezc3d-Release_1.5.8_GH0.tar.gz) = 1b94da2491d6fb223e4d945451c8b6a192bfa06351eb4b59e49d82770453cb5f -SIZE (pyomeca-ezc3d-Release_1.5.8_GH0.tar.gz) = 948567 +TIMESTAMP = 1708065820 +SHA256 (pyomeca-ezc3d-Release_1.5.9_GH0.tar.gz) = dcc4df2097eadb33773aa1563621ad07e3758296a66974fe95fc9e27ee74aebd +SIZE (pyomeca-ezc3d-Release_1.5.9_GH0.tar.gz) = 948575 SHA256 (google-googletest-3880b13_GH0.tar.gz) = ea3d403a3de3ab084841ec97efa440fb45d5f2fbe4eb09a22ccb9643a6af11ba SIZE (google-googletest-3880b13_GH0.tar.gz) = 962793