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.