From nobody Wed Aug 16 18:30:27 2023 X-Original-To: dev-commits-ports-main@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 4RQxX36XRQz4qxB0; Wed, 16 Aug 2023 18:30:27 +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 4RQxX322FLz4PKC; Wed, 16 Aug 2023 18:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210627; 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=fFjsIyvL7IrZhRQpzGXGRoxu2ugVOhyhu/VPEq8Zrtc=; b=PUpjV1HQgfhQlLgPI7/V9UfQF3xg+1vkar6D02ImmRXNO1qXZ4VC4CbRrLJC6plyR0qMqJ O5hdVe51E9qgwzt6sLKI8i/ChOWZuM+zSzUQufGrolWSUyDfNNOU0gZk6UDMVyU/CIMqtP netL69T/TG7D2WTPAKUzdTrNJ4tMZAILCFjBLEo6C/06JRq2gYL5aHZX27jrx+t69e5sSG PiLxd3MU5t98Cqyp5newojD8oihgInTeHzUanFjCML86jJrUhhiTmSG0JCOtcXQYrmxLOR pNPG5+PWjYqqwa2KWO1GDiP17D7xQ/YNiYsckkwqvH8DthDJQyr5DIkyC08u9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210627; 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=fFjsIyvL7IrZhRQpzGXGRoxu2ugVOhyhu/VPEq8Zrtc=; b=eBW+DLKF7JP7bJsnO2Npf00Qp+730Q6z1PpF/8x/5piQPkX/iiyhrxSqdcdQBFGj4yrzwl gZH9VA2ez37k1PZgXIyfG3hdrkB74YAFYd9gmYiC9RVNwiOFkbRjI4kb1YR21V/WB21M0A cqp4FJ5diIgw5gKIz+daJ90t30/MF2cdxXCg9D3H0/Prgx9We4qeEP9n5M+C3//E+hVYXp hJmKubHPhNmJJghwvWjr44dTcWe1RQ/+n1sMlJXFfPGJytgxykXmxe3QWmyAKNRpntW97k nB3+NF719k6WnTHb1jFtvj63ZU4uFY+YZ94WC7kGky9GkgXNzzAXx1zfHamFew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210627; a=rsa-sha256; cv=none; b=neOtyZ3MjK0vSATCquYN4fQHK0VP401JGYrJbAj7k9qwWn++BXvoZkJ6+18vZjgovSLCMs hvoK4VFbePCR09kR1mz3RJNPLIo3kipjvmdwidoiBkFyvSo3Pm+/wwXJhbWfliHu26tdb+ z8nQ+2ZoSuYhg1dNR2tVA9UK1dmlCJBzcHFCndHSuMfbb536GyXmb2lXztt7CN38a8F5WQ 9r7wzOnWSl300td0AQ92bxPNQlv0KEpBtuDBT/QXVHr+cljykGHi7I4eDsLaBfUftvtdYo iPmj9/LeEl8Sz8AUFGTyNIjkqU9V28ohXw7q/EenRp3Q3U6LtiTmNuLnV+O5cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQxX316Pfz12Wq; Wed, 16 Aug 2023 18:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37GIURwT023355; Wed, 16 Aug 2023 18:30:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIURFm023352; Wed, 16 Aug 2023 18:30:27 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:27 GMT Message-Id: <202308161830.37GIURFm023352@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 964dc98687b6 - main - math/py-awkward-cpp: Add py-awkward-cpp 21 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 964dc98687b675566603d52a3a729eb0893afd7e Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=964dc98687b675566603d52a3a729eb0893afd7e commit 964dc98687b675566603d52a3a729eb0893afd7e Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:06:44 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:06 +0000 math/py-awkward-cpp: Add py-awkward-cpp 21 awkward-cpp provides precompiled routines for the awkward package. It is not useful on its own, only as a dependency for awkward . --- math/Makefile | 1 + math/py-awkward-cpp/Makefile | 34 ++++++++++++++++++++++++++++++++++ math/py-awkward-cpp/distinfo | 3 +++ math/py-awkward-cpp/pkg-descr | 2 ++ 4 files changed, 40 insertions(+) diff --git a/math/Makefile b/math/Makefile index 3f4a236988a9..9e1c33f35056 100644 --- a/math/Makefile +++ b/math/Makefile @@ -893,6 +893,7 @@ SUBDIR += py-arybo SUBDIR += py-autograd SUBDIR += py-awkward + SUBDIR += py-awkward-cpp SUBDIR += py-baycomp SUBDIR += py-bayesian-optimization SUBDIR += py-benford_py diff --git a/math/py-awkward-cpp/Makefile b/math/py-awkward-cpp/Makefile new file mode 100644 index 000000000000..28681e1c3d6e --- /dev/null +++ b/math/py-awkward-cpp/Makefile @@ -0,0 +1,34 @@ +PORTNAME= awkward-cpp +PORTVERSION= 21 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CPU kernels and compiled extensions for Awkward Array +WWW= https://awkward-array.org/doc/main/ \ + https://github.com/scikit-hep/awkward/tree/main/awkward-cpp + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= cmake:devel/cmake-core \ + ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.2.0:devel/py-scikit-build-core@${PY_FLAVOR} \ + rapidjson>=0:devel/rapidjson +# scikit-build-core[pyproject] +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathspec>=0.10.1:devel/py-pathspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>=0.5:devel/py-pyproject-metadata@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.18.0,1:math/py-numpy@${PY_FLAVOR} + +USES= compiler:c++11-lang localbase python +USE_PYTHON= autoplist concurrent pep517 + +post-patch: +# Clean up bundled libraries + @${RM} -r ${WRKSRC}/rapidjson/ + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/math/py-awkward-cpp/distinfo b/math/py-awkward-cpp/distinfo new file mode 100644 index 000000000000..ced09f55f26a --- /dev/null +++ b/math/py-awkward-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069902 +SHA256 (awkward-cpp-21.tar.gz) = b286e63de803048ff812f769c6b636f13b0d3bcbf22e1b91b15f6cfb9593851e +SIZE (awkward-cpp-21.tar.gz) = 1419403 diff --git a/math/py-awkward-cpp/pkg-descr b/math/py-awkward-cpp/pkg-descr new file mode 100644 index 000000000000..85b719568af9 --- /dev/null +++ b/math/py-awkward-cpp/pkg-descr @@ -0,0 +1,2 @@ +awkward-cpp provides precompiled routines for the awkward package. It is not +useful on its own, only as a dependency for awkward .