From nobody Mon Jun 20 20:57:50 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7E06A86FC36; Mon, 20 Jun 2022 20:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LRhmv1H2Sz4Rdk; Mon, 20 Jun 2022 20:57:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655758671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cds/DkyoiIG6lXRW/TPQ1Sz7/rAjr+I+o76WSvGbajY=; b=qiqb0p2nUyQSZVEknF86YwAoPG3mWAn9wW4bQmOuBmuPfa3FsltgGKEKbNRYYsuvuKoQvh 8kDLzMvp+EO42hRhbLhcZTKOgpYZzR2EkPTtkhtjVVKlL/BVQ5q3jwofseWkijPCX6eq7u 3Q8QZ/fROERX20Yda1bGh7ygEnBXM3Gw+rlM73F5T+fUPJz7nalaDbDX4Y0Dx3a4aFILu0 u+xFePNLiks8Izt20KcvnOLOcKFbnFEgwFmAAykBBvICM+0ysfG2nk5XHGq5Hu5j2UI0Gh E5wgptPP/wA7NnvvGOZvegSxTMa+fkjCrOytxx0qRiLzVTKAvDzc2BhViDPDGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A4E1224815; Mon, 20 Jun 2022 20:57:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25KKvoc4064187; Mon, 20 Jun 2022 20:57:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25KKvokE064186; Mon, 20 Jun 2022 20:57:50 GMT (envelope-from git) Date: Mon, 20 Jun 2022 20:57:50 GMT Message-Id: <202206202057.25KKvokE064186@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 3539c47c1bd9 - main - misc/py-ezc3d: New port: C3D (biomechanics data format) reader/writer List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3539c47c1bd917f30e10a8165313780de6fe2087 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655758671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cds/DkyoiIG6lXRW/TPQ1Sz7/rAjr+I+o76WSvGbajY=; b=rn7DsttsyA3zKtZiKjVHi1BIB6qOrxIGl2O8W4p0GZZkUzyu7j2wGghe11cUS3nJQDe3EM lk5dINoBQjzhSX2Mjfz/P8cMtstWY3iQIhfBfd3iaqVXC/rVc7RMjzP9KsW3hwvsHZEdyE 01mU1XeJRrUVfE736fg4Ee3W8zSJ/sXQn3+I1DNUwXb0Hex04RfiJsSIIVA9KPL5b47wKW WV1WC1qRmVZC2TNT/c94G8J87bIMrUZijqP7h3XuUFemqU+6dzTgbfdHZlhfkZ5ibqzNkV v8sQd+q9yOn024xux8vdN345SWQkoSIO7yNYppTQlqj1ZHBlqi8t2ccZsmcpDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655758671; a=rsa-sha256; cv=none; b=a7qKBrxFeALksXNwqUT11MDYhDzdYqZmqjbNHDHvCaDfnWCNf7dA7bbVBX71L2klp5DE+/ gARhSjW8O6kK6yy5zHPOALLM4QuVAaUzq8PdpVUseYuj8V9UZak3S5rGaCaL2zIKTVG9QO ksC1Cb3sMIvfeR5LdCAyebnDFb3jAlvZ0k3WZ88n7HUnblPCYGOpSoYasXXgI1VR1OQ+Iu owXLnU5N0xdO8VV0IU0mie6X4TQW3kLWlEQ1B7pH0+uoz47yHCu7HLWk0PusnTD53gA+wK MBvS2fBRN+rry47XEd1yy/jJ8Gj7MOKAqa0PYKUljF1MMYRJeDZTMSjahneQQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3539c47c1bd917f30e10a8165313780de6fe2087 commit 3539c47c1bd917f30e10a8165313780de6fe2087 Author: Yuri Victorovich AuthorDate: 2022-06-20 20:56:55 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-20 20:57:35 +0000 misc/py-ezc3d: New port: C3D (biomechanics data format) reader/writer --- misc/Makefile | 1 + misc/py-ezc3d/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ misc/py-ezc3d/distinfo | 5 +++++ misc/py-ezc3d/pkg-descr | 10 ++++++++++ misc/py-ezc3d/pkg-plist | 15 +++++++++++++++ 5 files changed, 69 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index a06dec444128..d8c8cad29700 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -384,6 +384,7 @@ SUBDIR += py-dictdiffer SUBDIR += py-eemeter SUBDIR += py-emoji + SUBDIR += py-ezc3d SUBDIR += py-fast-histogram SUBDIR += py-fleep SUBDIR += py-fuzzy diff --git a/misc/py-ezc3d/Makefile b/misc/py-ezc3d/Makefile new file mode 100644 index 000000000000..f4bc6778443d --- /dev/null +++ b/misc/py-ezc3d/Makefile @@ -0,0 +1,38 @@ +PORTNAME= ezc3d +DISTVERSIONPREFIX= Release_ +DISTVERSION= 1.5.0 +CATEGORIES= misc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C3D (biomechanics data format) reader/writer + +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 \ + swig:devel/swig +RUN_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= distutils pytest # autoplist is broken due to https://github.com/pyomeca/ezc3d/issues/258 ; tests fail, see https://github.com/pyomeca/ezc3d/issues/259 + +USE_GITHUB= yes +GH_ACCOUNT= pyomeca +GH_TUPLE= google:googletest:3880b13:googletest/external/gtest # https://github.com/pyomeca/ezc3d/issues/256 + +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 + +.include diff --git a/misc/py-ezc3d/distinfo b/misc/py-ezc3d/distinfo new file mode 100644 index 000000000000..db6de1ac92d8 --- /dev/null +++ b/misc/py-ezc3d/distinfo @@ -0,0 +1,5 @@ +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 diff --git a/misc/py-ezc3d/pkg-descr b/misc/py-ezc3d/pkg-descr new file mode 100644 index 000000000000..5f49399f4156 --- /dev/null +++ b/misc/py-ezc3d/pkg-descr @@ -0,0 +1,10 @@ +EZC3D is an easy to use reader, modifier and writer for C3D format files. It is +written en C++ with proper binders for Python and MATLAB scripting langages. + +C3D (http://c3d.org) is a format specifically designed to store biomechanics +data. Hence many biomechanics softwares can produce C3D files in order to share +data. However, there is a lack in the biomechanics community of an easy to use, +free and open source library to read, modify and write them as needed when it +gets to the data analysis. + +WWW: https://github.com/pyomeca/ezc3d diff --git a/misc/py-ezc3d/pkg-plist b/misc/py-ezc3d/pkg-plist new file mode 100644 index 000000000000..ec1c8d1fea6a --- /dev/null +++ b/misc/py-ezc3d/pkg-plist @@ -0,0 +1,15 @@ +%%PYTHON_SITELIBDIR%%/ezc3d/__init__.py +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/_version%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/_version%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/ezc3d%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/__pycache__/ezc3d%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/ezc3d/_ezc3d.so +%%PYTHON_SITELIBDIR%%/ezc3d/_version.py +%%PYTHON_SITELIBDIR%%/ezc3d/cmake/ezc3d/ezc3dConfig.cmake +%%PYTHON_SITELIBDIR%%/ezc3d/cmake/ezc3d/ezc3dConfigVersion.cmake +%%PYTHON_SITELIBDIR%%/ezc3d/cmake/ezc3d/ezc3dTargets-release.cmake +%%PYTHON_SITELIBDIR%%/ezc3d/cmake/ezc3d/ezc3dTargets.cmake +%%PYTHON_SITELIBDIR%%/ezc3d/ezc3d.py +%%PYTHON_SITELIBDIR%%/ezc3d/libezc3d.so