From nobody Sun Nov 12 04:49:10 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 4SSg7q0L08z513Vl; Sun, 12 Nov 2023 04:49:11 +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 4SSg7p6kTkz3ZvG; Sun, 12 Nov 2023 04:49:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699764550; 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=dPHO3dhkChnqUqrA/MpzpnkR+o/NIWBR+6ktp9sdOhE=; b=fNUikkRkcOd2p+uVNFG2Hv0gY6Hvr+JkggxcRk+Xb8jGfWHy5jCFrddOuctwzeqcfUrYPZ Xmfr1NRYAaPaX+JMRvY3rxGPPVBfE+Ga2s0K5FVWe7j7QeQEf6I4jFOjs28iQ85cb9bAg7 Q/N7SBFK69xVFeMRILWf5/HWbGpDQQMe3eQIZIjNN0sz/s0SKK7GP//ovC3UgulLk11XLv BPPdi9My/35wgk9zGi7SRiFQ/14lJh4vj8ivxRFaFl+7cSvqEDRLq2M2ZPq6rf1J5C2pWV e0cHcMmbztr1uVUrijSspjInWOHsDWZKlFsl6CEJHEdXslbwo/AErdFzVeH1Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699764550; 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=dPHO3dhkChnqUqrA/MpzpnkR+o/NIWBR+6ktp9sdOhE=; b=qte4mF7mBHud8o6oKw3sgcv4YUR9m04S5tfHk4nsJetYzg6LnNMSiqCKA4UN5AB1lAJpNw hSHiKpL792F2hvMtlhubdLi5iBOk5THAWk4mAxD5+c6tDAjYZXdcTjleqcLVNScU+l7mSh qFA9b5qMa6MLSACV0RA05/mM8xud0PsHpFCIhIR88nH8fvCqWiI4m+SjSVZYEXD7/NMEs+ IlMC4gLMNwi+7MhZoUWpFlo0FEaMp6xWzssnhbG/p/Jqn77Z0DjhAYimsScB0SrxJEcdJM qjSJAJ5STfemwiW2kgU6VOgcvjQ+H8ywQRteLhItdViE31rkII1LRBg7zQD+yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699764550; a=rsa-sha256; cv=none; b=IRnOb4JxWpQrXXRH2P4uPxzYivA7qPllI4ECCbEHKkQlNNVS00gR5fTF7qG8evgDkSqv83 s0wLnbU6IBixcGIT59k0Ib7nPdco8ZmnHgxo0NC1yiylH3n8DcxNVMWuOJYHF73xgyH1tK EZkSnmP4zkc74NaF96Pk/gHfGvEnQZjeOtcpC0P0suFDb3TIgNT14oWQggXuXSm5aAgcWD ocjUzZ2BZJxFXalpywYO7p7TsbY2Pdirs7fCmYINUpgTw5/kUqy/VpbQzKEkum9a8mWsd6 k05Q/0qiMB67fcaVPvzDTX9wlAIKAbHuasMvdERJYi5cR1O0uwe6KyLgWYDRUA== 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 4SSg7p5Tfnz17yR; Sun, 12 Nov 2023 04:49:10 +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 3AC4nAWk091710; Sun, 12 Nov 2023 04:49:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AC4nAYB091707; Sun, 12 Nov 2023 04:49:10 GMT (envelope-from git) Date: Sun, 12 Nov 2023 04:49:10 GMT Message-Id: <202311120449.3AC4nAYB091707@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: 0860a4e8db43 - main - misc/py-SQCommon: New port: SQCommon - skopt common optimizer API 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: 0860a4e8db4315057714fe85fe1dd0c9ec28b366 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0860a4e8db4315057714fe85fe1dd0c9ec28b366 commit 0860a4e8db4315057714fe85fe1dd0c9ec28b366 Author: Yuri Victorovich AuthorDate: 2023-11-11 21:18:51 +0000 Commit: Yuri Victorovich CommitDate: 2023-11-12 04:49:06 +0000 misc/py-SQCommon: New port: SQCommon - skopt common optimizer API --- misc/Makefile | 1 + misc/py-SQCommon/Makefile | 24 ++++++++++++++++++++++++ misc/py-SQCommon/distinfo | 3 +++ misc/py-SQCommon/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 677c218455ed..37610cf82756 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -394,6 +394,7 @@ SUBDIR += py-PyUserInput SUBDIR += py-PyWavefront SUBDIR += py-QSpectrumAnalyzer + SUBDIR += py-SQCommon SUBDIR += py-SimpleSoapy SUBDIR += py-SoapySDR SUBDIR += py-alive-progress diff --git a/misc/py-SQCommon/Makefile b/misc/py-SQCommon/Makefile new file mode 100644 index 000000000000..d15c4be460a1 --- /dev/null +++ b/misc/py-SQCommon/Makefile @@ -0,0 +1,24 @@ +PORTNAME= SQCommon +DISTVERSION= 0.3.2 +CATEGORIES= misc math python # quantum-computing, chemostry, physics +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= SQCommon - skopt common optimizer API +WWW= https://qat4chem.lbl.gov/software + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/misc/py-SQCommon/distinfo b/misc/py-SQCommon/distinfo new file mode 100644 index 000000000000..d073322f661e --- /dev/null +++ b/misc/py-SQCommon/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699736495 +SHA256 (SQCommon-0.3.2.tar.gz) = f970b5bf3e8073e1a1466fce30021da659f519ad1c985779688bd33a65277f40 +SIZE (SQCommon-0.3.2.tar.gz) = 2896 diff --git a/misc/py-SQCommon/pkg-descr b/misc/py-SQCommon/pkg-descr new file mode 100644 index 000000000000..eaa0d6b97f14 --- /dev/null +++ b/misc/py-SQCommon/pkg-descr @@ -0,0 +1,3 @@ +Common classes for a consistent API on top of the minimizers collected in +skquant.opt. These included result representation, input checking, collection +of run statistics, etc.