Skip to content

Commit

Permalink
misc/py-SQCommon: New port: SQCommon - skopt common optimizer API
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Nov 12, 2023
1 parent be0ed95 commit 0860a4e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions misc/Makefile
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
3 changes: 3 additions & 0 deletions 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.

0 comments on commit 0860a4e

Please sign in to comment.