From nobody Thu May 04 16:24:53 2023 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 4QBzg93kvYz49H6D; Thu, 4 May 2023 16:24:53 +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 4QBzg932dGz3qx8; Thu, 4 May 2023 16:24:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683217493; 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=cce/jA4X8Xy4MgbliiI//r0rczIq6ggnZBc1coMqoaw=; b=xJz7/3uDIr9GeeFJq9vVsxBgVLed51rxo91DfZPD4MdWSlxgz1bLO3lXgCHJ1L8L2LTidZ N7bxICrLaTB0ugEga3TpSPd+UpQRu7aZczK2Izq90OOa00vI06EtTcF+5uh+vTM1JjeCDM AWgpmyCU8pQOHX9z4tj2E9X70DcXinC12g5FgsFeCeRiYh8CpwFbfbTWQLq062jEfj878Y jPkLOVVLyk8Ted9jvnR7534kJs983HQrlE5nYlUHPfakloA09ctlHD7I/VZozzDjDTosp+ dJW2t9eXj+TVE/ffW2t1xYTMzolmY4kvC025p2ZYJfCZ3ikYp38HwlnSJoSE3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683217493; 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=cce/jA4X8Xy4MgbliiI//r0rczIq6ggnZBc1coMqoaw=; b=m3NMMdqSVfiogNAStJ/2FNvu6OFMq8/1wvoMoiMYVWtJPVuOw1ZotIy+WuTnRSWPTg4W/V Zbtf9OUaoQn0HY3L1VX8xa2do9pZmweD2Fupc8SyWEuhUFXrmntjnaVo1VL3grlJwqBkpA /OmRUU+AiXMtHb2s/kUHeK2o3va9XhuGFzQltY0vbnQEPbk2g3JGyeGHs+T3AMbgHLHQqP y19Qh7DsW3Y5j78ZQf1tQ0JT3eKNBoB19HnzfD1FtGfiXDtpL9+mANogVWtAoT2l+GhF2r ZT9sjdXprONoAYyjGF7sNyrwSfCyzhJVe7IdfZEh392TSbGXH/KU7KPYro7rgA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683217493; a=rsa-sha256; cv=none; b=hCH37DQotyVp6WOoPpbuvzfh/0gssryfUniYj6uywVqdD2LJ5d1IaIZO57eDRo1cQ9SLOa 2YJvvpxtux4ab+1YKfY2uEBVBQ8OIARJ4DWMCWJ6cH6XcLc2UAW0vAFnJ01TohJDKQSeh7 Ub2ilcPqo8GlCo4kMuUBHwh+u7FDUOc4jpFl/T6tH+dc+WBMrseXq6lX9WlfTXLSC4b3t1 f60QtIfX2iCxLlHFyVnEolfPxJrbNmFI0xgE9VSeJ4pPFXfo7+O1BM26bXzGktXIxfwThJ BHSfsJXLZKK9RBgiWawMcpH1r2YVxCmbngOC8ZiZ+5lDQCai0Kd52/UV3LlaIw== 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 4QBzg90zklzK4K; Thu, 4 May 2023 16:24:53 +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 344GOrkd035811; Thu, 4 May 2023 16:24:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 344GOrvJ035810; Thu, 4 May 2023 16:24:53 GMT (envelope-from git) Date: Thu, 4 May 2023 16:24:53 GMT Message-Id: <202305041624.344GOrvJ035810@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: cc6a5c646bd2 - main - math/py-fsph: New port: Library to quickly compute series of complex spherical harmonics 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: cc6a5c646bd298186f00f2aa1351088b18c16f55 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc6a5c646bd298186f00f2aa1351088b18c16f55 commit cc6a5c646bd298186f00f2aa1351088b18c16f55 Author: Yuri Victorovich AuthorDate: 2023-05-04 16:24:22 +0000 Commit: Yuri Victorovich CommitDate: 2023-05-04 16:24:49 +0000 math/py-fsph: New port: Library to quickly compute series of complex spherical harmonics --- math/Makefile | 1 + math/py-fsph/Makefile | 37 +++++++++++++++++++++++++++++++++++++ math/py-fsph/distinfo | 3 +++ math/py-fsph/pkg-descr | 3 +++ 4 files changed, 44 insertions(+) diff --git a/math/Makefile b/math/Makefile index f6834fde91ec..5a7948550ebd 100644 --- a/math/Makefile +++ b/math/Makefile @@ -919,6 +919,7 @@ SUBDIR += py-formulaic SUBDIR += py-fpylll SUBDIR += py-fraction + SUBDIR += py-fsph SUBDIR += py-fvcore SUBDIR += py-gau2grid SUBDIR += py-gimmik diff --git a/math/py-fsph/Makefile b/math/py-fsph/Makefile new file mode 100644 index 000000000000..b78b8ab6e370 --- /dev/null +++ b/math/py-fsph/Makefile @@ -0,0 +1,37 @@ +PORTNAME= fsph +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.0 +CATEGORIES= math +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library to quickly compute series of complex spherical harmonics +WWW= https://fsph.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} +# ${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR} # tensorflow is an optional dependency that is currently broken: https://github.com/glotzerlab/fsph/issues/6 +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ + ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= compiler:c++14-lang localbase python +USE_PYTHON= pep517 autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= glotzerlab + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +CONFLICTS_BUILD= ${PYTHON_PKGNAMEPREFIX}-tensorflow + +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHON_SITELIBDIR}/fsph/_fsph${PYTHON_EXT_SUFFIX}.so + #${STAGEDIR}${PYTHON_SITELIBDIR}/fsph/_tf_ops${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/math/py-fsph/distinfo b/math/py-fsph/distinfo new file mode 100644 index 000000000000..e0fa409f6890 --- /dev/null +++ b/math/py-fsph/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683212869 +SHA256 (glotzerlab-fsph-v0.3.0_GH0.tar.gz) = 113a4fdc6787044f8119533925af9d159cb559df2de369200e5affcb1c7df041 +SIZE (glotzerlab-fsph-v0.3.0_GH0.tar.gz) = 150856 diff --git a/math/py-fsph/pkg-descr b/math/py-fsph/pkg-descr new file mode 100644 index 000000000000..b9efb2b2218a --- /dev/null +++ b/math/py-fsph/pkg-descr @@ -0,0 +1,3 @@ +fsph is a library to efficiently compute series of spherical harmonics. + +It is based on math enumerated by Martin J. Mohlenkamp.