git: fe0473dc1f1c - main - misc/py-SQImFil: New port: Implicit Filtering optimization for quantum computer algorithms

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 12 Nov 2023 04:49:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fe0473dc1f1c703e8367efc5dc0104beb7da8815

commit fe0473dc1f1c703e8367efc5dc0104beb7da8815
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-11 21:28:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-12 04:49:06 +0000

    misc/py-SQImFil: New port: Implicit Filtering optimization for quantum computer algorithms
---
 misc/Makefile             |  1 +
 misc/py-SQImFil/Makefile  | 25 +++++++++++++++++++++++++
 misc/py-SQImFil/distinfo  |  3 +++
 misc/py-SQImFil/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 37610cf82756..b086f6252610 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -395,6 +395,7 @@
     SUBDIR += py-PyWavefront
     SUBDIR += py-QSpectrumAnalyzer
     SUBDIR += py-SQCommon
+    SUBDIR += py-SQImFil
     SUBDIR += py-SimpleSoapy
     SUBDIR += py-SoapySDR
     SUBDIR += py-alive-progress
diff --git a/misc/py-SQImFil/Makefile b/misc/py-SQImFil/Makefile
new file mode 100644
index 000000000000..b5f17b49f81b
--- /dev/null
+++ b/misc/py-SQImFil/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	SQImFil
+DISTVERSION=	0.3.7
+CATEGORIES=	misc math python # quantum-computing
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Implicit Filtering optimization for quantum computer algorithms
+WWW=		https://qat4chem.lbl.gov/software
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}SQCommon>0:misc/py-SQCommon@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-SQImFil/distinfo b/misc/py-SQImFil/distinfo
new file mode 100644
index 000000000000..5e389c769060
--- /dev/null
+++ b/misc/py-SQImFil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699737976
+SHA256 (SQImFil-0.3.7.tar.gz) = be48fce9277bf8ff19727f9ab25663937a7c758e8f97d4f0f9a3a67ea4b7e096
+SIZE (SQImFil-0.3.7.tar.gz) = 27965
diff --git a/misc/py-SQImFil/pkg-descr b/misc/py-SQImFil/pkg-descr
new file mode 100644
index 000000000000..9f878cbdb9a4
--- /dev/null
+++ b/misc/py-SQImFil/pkg-descr
@@ -0,0 +1,4 @@
+ImFil is intended for optimizing on derivative-free, noisy, blackbox functions.
+This modified version has preset defaults as intended for hybrid
+quantum-classical algorithms run on Noisy Intermediate Scale Quantum (NISQ)
+computers.