From nobody Wed Nov 02 16:23:00 2022 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 4N2XHT10dHz4gHxX; Wed, 2 Nov 2022 16:23:01 +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 4N2XHT0W7nz3m3G; Wed, 2 Nov 2022 16:23:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667406181; 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=QEd70bnbfwI9W36sr91kwMDepLiaAgtFvT0L21zglYY=; b=Avopst0zIIyg4v5zdFoZ55ZWAZ9V+MB2rE8Ldf+PrlS8RvPldTXSOASO12cQpFcpWNtDxu LLaj48hsO2JcnP/VHc7/pIBnjsEz1I8LopYHDn5Bg8MfmpZkTq59wB5b0TIR6hLjWfVnC4 lnNoPD2Iz1SUgbgKizqDIbADv+1YBD/+oylxSwEY/xXhpA17c4x8NtrZTF3gPNk6aQZMfi 1SlrzFjzuI0urhqQlWxMWC8ywSq/+xa7aKxW7Y3Ndd0KcLT4n9eeUXYqd4arg4c/MKIFr8 FVLp3AZZFG9dVLs7Gksup07yU9hi7rLv8Mk8ODkIcVOO02Y9xqtr1w9bNSyOcA== 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 4N2XHS6jwlz135B; Wed, 2 Nov 2022 16:23:00 +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 2A2GN0wv008020; Wed, 2 Nov 2022 16:23:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A2GN0RV008019; Wed, 2 Nov 2022 16:23:00 GMT (envelope-from git) Date: Wed, 2 Nov 2022 16:23:00 GMT Message-Id: <202211021623.2A2GN0RV008019@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: 9959a6a4cd35 - main - science/zx: New port: MQT ZX: A library for working with ZX-diagrams 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9959a6a4cd35207f775e3f91efcef1e93008a495 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667406181; 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=QEd70bnbfwI9W36sr91kwMDepLiaAgtFvT0L21zglYY=; b=hGAzTqefVl79m4RQqUVDH1W9HyHWwfQyAnbf0JEc6ICwn5IUid+YIPqTrGD3u0KW3Jfebr OSO7cM2CnX12MXimxZao8g1aVwVLSH/x6eocy7ONTmdpPoIBZVDlTQ0ZqEFcw8XsLidBlp VCreu8ha9oy48K4+2dHVl07rG0AEpZ+YHPDU6xdTagk+Chb9QefAIXbR2AstK6zzE99ifL WMG1AtdR7R4EAejkbj6KivrOLGn4eyMeQXVxTNbjT1zD8p1vb3qzjzb2OtZMGi6QZJHmBZ WlVN31zwUT+Be3L3MOKWBHhmPVwjLpVn6ZvMyJso5FPWlFWy1necZHn1miAfDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667406181; a=rsa-sha256; cv=none; b=uAJEGpLJidjlLqbZAd9A3ZEolU6YsFA1JdS7JReTRa9jKkmDgFe2no8ztN9Bm0hhXZ4sKg 6SDObgcRJscvxmNIHsYjag+aomXOWwyRUT+4b8vN/IDzPxbQj+mpGt6MQ73MIMGm488ooe WCayKZ4G/hHwWWUxd7TEAkMizSbrDMzGD6/n1JMDtzNrZtZagdsYIqBi1xd0bL49wYd9t3 kD8x+Vk2bNmDluR9XUy7VE497aWShxp/2Rqeg+Xjclt9Q904E8GipkbhoS/+rR/fUNK+qP 6Qh8gX22R6stiN7OrD2PLlWKF0dXAJH7XGP5HFGlkHPrvfkbfqKkUc+ITDvxkA== 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=9959a6a4cd35207f775e3f91efcef1e93008a495 commit 9959a6a4cd35207f775e3f91efcef1e93008a495 Author: Yuri Victorovich AuthorDate: 2022-11-02 04:29:13 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-02 16:22:57 +0000 science/zx: New port: MQT ZX: A library for working with ZX-diagrams --- science/Makefile | 1 + science/zx/Makefile | 31 +++++++++++++++++++++++++++++++ science/zx/distinfo | 9 +++++++++ science/zx/pkg-descr | 3 +++ science/zx/pkg-plist | 8 ++++++++ 5 files changed, 52 insertions(+) diff --git a/science/Makefile b/science/Makefile index 832f4b446b50..cbfb80cbcf9d 100644 --- a/science/Makefile +++ b/science/Makefile @@ -473,5 +473,6 @@ SUBDIR += xtb SUBDIR += yoda SUBDIR += zotero + SUBDIR += zx .include diff --git a/science/zx/Makefile b/science/zx/Makefile new file mode 100644 index 000000000000..0061dee5a10e --- /dev/null +++ b/science/zx/Makefile @@ -0,0 +1,31 @@ +PORTNAME= zx +PORTVERSION= g20221101 +CATEGORIES= science # quantum-computing + +MAINTAINER= yuri@FreeBSD.org +COMMENT= MQT ZX: A library for working with ZX-diagrams +WWW= https://www.cda.cit.tum.de/research/quantum/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libgmp.so:math/gmp + +USES= cmake:testing compiler:c++17-lang python:test + +USE_GITHUB= yes +GH_ACCOUNT= cda-tum +GH_TAGNAME= b01ba5e +GH_TUPLE= boostorg:config:2543ff1:boostorg_config/extern/boost/config \ + boostorg:multiprecision:be4b8e8:boostorg_multiprecision/extern/boost/multiprecision \ + google:googletest:3026483:googletest/extern/googletest + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= BUILD_ZX_TESTS +CMAKE_TESTING_ON= BUILD_ZX_TESTS + +do-install: # workaround for https://github.com/cda-tum/dd_package/issues/115 + cd ${WRKSRC}/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${BUILD_WRKSRC}/src/libzx.so ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/science/zx/distinfo b/science/zx/distinfo new file mode 100644 index 000000000000..21d52858dc74 --- /dev/null +++ b/science/zx/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1667348044 +SHA256 (cda-tum-zx-g20221101-b01ba5e_GH0.tar.gz) = 4f106f5bb3f8651e91e25fd15c353f7d08c77bb34b5bb61c138a11cca3a7a50f +SIZE (cda-tum-zx-g20221101-b01ba5e_GH0.tar.gz) = 26179 +SHA256 (boostorg-config-2543ff1_GH0.tar.gz) = aed1996926016faee81de7219a74f9fd41c9c3a4bb292f8936b54245b57ad3c2 +SIZE (boostorg-config-2543ff1_GH0.tar.gz) = 379371 +SHA256 (boostorg-multiprecision-be4b8e8_GH0.tar.gz) = 78b681530deb9c911f485f70d438099b9a7f7e63f61dba572ed68f32306e35c2 +SIZE (boostorg-multiprecision-be4b8e8_GH0.tar.gz) = 4144005 +SHA256 (google-googletest-3026483_GH0.tar.gz) = 1790cf41d6b9b023e1751888155b4fe1a20cd5b9842c3aa67633aac4b2610ba2 +SIZE (google-googletest-3026483_GH0.tar.gz) = 859168 diff --git a/science/zx/pkg-descr b/science/zx/pkg-descr new file mode 100644 index 000000000000..51d87020ae3a --- /dev/null +++ b/science/zx/pkg-descr @@ -0,0 +1,3 @@ +zx is a library for working with ZX-diagrams developed by the Chair for Design +Automation at the Technical University of Munich as part of the Munich Quantum +Toolkit (MQT). diff --git a/science/zx/pkg-plist b/science/zx/pkg-plist new file mode 100644 index 000000000000..e8e6b0491112 --- /dev/null +++ b/science/zx/pkg-plist @@ -0,0 +1,8 @@ +include/Definitions.hpp +include/Expression.hpp +include/Rational.hpp +include/Rules.hpp +include/Simplify.hpp +include/Utils.hpp +include/ZXDiagram.hpp +lib/libzx.so