From nobody Wed Jun 8 14:40:02 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 8AE8D8509D0; Wed, 8 Jun 2022 14:40:02 +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 4LJ8yV3RNnz4ShK; Wed, 8 Jun 2022 14:40:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654699202; 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=Dgt8pJg9WVbhqFKe3bnb+5Lb568YKHFl+kyXJYHNB30=; b=Vx93WiDAlvzXCHjiONQd71tis8YTHi06jONzHAZCoutnHkdwyZrpJCAvRnfTaHPdqIzd8S 54ut84nWq8muGH3x5/dPoUcMH8vxuM5+rJNSjm2q1GGznu0TBNDXe1Nftq0/MxlydccEn1 snBtj3e5I4UWSYLOga3nSmn6tHvKgX1AEGwn7ra7h8uGeKhNFNjnSRrTxCMmgogGy+vt6+ nXuyeK7mDQXMzvJwTbWfcuFcnVt0KmLoUBMu53zIYlc1NzYltDl/VRwg68rsxEA4AokZqL c44Tyf91hFMawiuu6TgKIu5GQf1o68+GwH01mrGPUQftL4POLpb89JByUellqw== 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 56693115DA; Wed, 8 Jun 2022 14:40:02 +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 258Ee213087983; Wed, 8 Jun 2022 14:40:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 258Ee230087979; Wed, 8 Jun 2022 14:40:02 GMT (envelope-from git) Date: Wed, 8 Jun 2022 14:40:02 GMT Message-Id: <202206081440.258Ee230087979@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: eb9d9d12a302 - main - devel/py-qutip-qip: New port: QuTiP quantum information processing package 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: eb9d9d12a3022ad9ed5f963c1c3df825633cee7f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654699202; 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=Dgt8pJg9WVbhqFKe3bnb+5Lb568YKHFl+kyXJYHNB30=; b=al1/1uASLadTUhLdhStzAh/T8yUXKoVRxSSMghxn1HpsfdqJ9h1eI2UTKeC7nV8eEIgLPK zQlJbCRW7zPH9UkXp38wG4FlltVWd1sQK1d09DhkJ0q55zxPHhQDigkFY6LR0vLRcnMk+m mJbOnb7dVSSCh3fIaAbktp9lSt797e7CjnTGEkTKMYBppM2uGdf1ELS6d/NqbijSDI0Qc1 BGsdAZlcsr9Ry/aGgwJl3GWRdW6eCsdV9rH5bZxZ+3t416eTo9jLnTIOjFiA/LaayRK8zE c88LXLWq8GMswfluK8vSsyWVKs2lZ2HB4epBI0sWkvCl3q0DgpHMlcRJnapjFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654699202; a=rsa-sha256; cv=none; b=KZu3vhzdelxDbwkNTKf4sa9GYfceA5x0gyvrgRuvCIn8YGSJjGXCbXfPkiNeBk/BhJ3QSR 92z8KZkLBwL0k5koblL8ODWVy2LZ/5PfJM14A5/f16pDg9wdKC9KMsW3UQhnx8XA3R71Ed vM33p36ynxQRW4KLenbmVeMb0z3pmwsaG+FAqczcPaukA390uXOyUkA9rp5IRzg6en6+Bz cP2FfVA2KWy/loXz96ZA6GNz7xoWx00DR4uOj5XB10O8CznZNjTCmqVeTWvc8O08XzxGMt GesoITOs0Da9CZj6eVKwRFpl9RiPenn24B5VCUAA4+oqKFQVJnrRTcobUsFcUA== 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=eb9d9d12a3022ad9ed5f963c1c3df825633cee7f commit eb9d9d12a3022ad9ed5f963c1c3df825633cee7f Author: Yuri Victorovich AuthorDate: 2022-06-08 14:39:21 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-08 14:39:59 +0000 devel/py-qutip-qip: New port: QuTiP quantum information processing package --- devel/Makefile | 1 + devel/py-qutip-qip/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/py-qutip-qip/distinfo | 3 +++ devel/py-qutip-qip/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bacba7513701..dad44f40bfc6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5218,6 +5218,7 @@ SUBDIR += py-qtconsole SUBDIR += py-questionary SUBDIR += py-qutip + SUBDIR += py-qutip-qip SUBDIR += py-ramlfications SUBDIR += py-rapidfuzz SUBDIR += py-rapidfuzz-capi diff --git a/devel/py-qutip-qip/Makefile b/devel/py-qutip-qip/Makefile new file mode 100644 index 000000000000..39698a7cfd8d --- /dev/null +++ b/devel/py-qutip-qip/Makefile @@ -0,0 +1,32 @@ +PORTNAME= qutip-qip +DISTVERSION= 0.2.1 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= QuTiP quantum information processing package + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}qutip>=4.5:devel/py-qutip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +NO_ARCH= yes + +post-patch: + @cd ${WRKSRC} && ${ECHO} ${DISTVERSION} > VERSION + +do-test: + @cd ${WRKDIR} && ${SETENV} ${TEST_ENV} pytest + +.include diff --git a/devel/py-qutip-qip/distinfo b/devel/py-qutip-qip/distinfo new file mode 100644 index 000000000000..6e5e5e68a2d2 --- /dev/null +++ b/devel/py-qutip-qip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654668649 +SHA256 (qutip-qip-0.2.1.tar.gz) = 716a0a806d80306fab2567f29d629b8a2c80b7869391c2490a0e0585adbffd39 +SIZE (qutip-qip-0.2.1.tar.gz) = 118123 diff --git a/devel/py-qutip-qip/pkg-descr b/devel/py-qutip-qip/pkg-descr new file mode 100644 index 000000000000..dba4f31d66d0 --- /dev/null +++ b/devel/py-qutip-qip/pkg-descr @@ -0,0 +1,20 @@ +The qutip-qip package used to be a module qutip.qip under QuTiP +(Quantum Toolbox in Python). From QuTiP 5.0, the community has decided +to decrease the size of the core QuTiP package by reducing the +external dependencies, in order to simplify maintenance. Hence a few +modules are separated from the core QuTiP and will become QuTiP family +packages. They are still maintained by the QuTiP team but hosted under +different repositories in the QuTiP organization. + +The qutip-qip package, QuTiP quantum information processing, aims at +providing basic tools for quantum computing simulation both for simple +quantum algorithm design and for experimental realization. Compared to +other libraries for quantum information processing, qutip-qip puts +additional emphasis on the physics layer and the interaction with the +QuTiP package. The package offers two different approaches for +simulating quantum circuits, one with QubitCircuit calculating unitary +evolution under quantum gates by matrix product, another called +Processor using open system solvers in QuTiP to simulate noisy quantum +device. + +WWW: https://github.com/qutip/qutip-qip