Date: Wed, 1 Jun 2022 03:42:40 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c3917216ac23 - main - science/py-thewalrus: New port: Open source library for hafnian calculation Message-ID: <202206010342.2513geV2073152@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3917216ac23dc4f5886eb8f8ee5c408281cb400 commit c3917216ac23dc4f5886eb8f8ee5c408281cb400 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-06-01 03:40:48 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-06-01 03:42:38 +0000 science/py-thewalrus: New port: Open source library for hafnian calculation --- science/Makefile | 1 + science/py-thewalrus/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ science/py-thewalrus/distinfo | 3 +++ science/py-thewalrus/pkg-descr | 4 ++++ 4 files changed, 47 insertions(+) diff --git a/science/Makefile b/science/Makefile index cc41e4b7e355..48b215f77451 100644 --- a/science/Makefile +++ b/science/Makefile @@ -343,6 +343,7 @@ SUBDIR += py-spaghetti SUBDIR += py-spglib SUBDIR += py-tensorflow + SUBDIR += py-thewalrus SUBDIR += py-tobler SUBDIR += py-trainstation SUBDIR += py-veusz diff --git a/science/py-thewalrus/Makefile b/science/py-thewalrus/Makefile new file mode 100644 index 000000000000..d09576419c50 --- /dev/null +++ b/science/py-thewalrus/Makefile @@ -0,0 +1,39 @@ +PORTNAME= thewalrus +DISTVERSIONPREFIX= v +DISTVERSION= 0.19.0 +CATEGORIES= science python +#MASTER_SITES= CHEESESHOP # doesn't contain tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Open source library for hafnian calculation + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}dask>0:devel/py-dask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= gmake:devel/gmake \ + ${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-randomly>0:devel/py-pytest-randomly@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= XanaduAI + +NO_ARCH= yes + +BINARY_ALIAS= python3=${PYTHON_CMD} + +do-test: # testsuite fails to run: https://github.com/XanaduAI/thewalrus/issues/344 + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test + +.include <bsd.port.mk> diff --git a/science/py-thewalrus/distinfo b/science/py-thewalrus/distinfo new file mode 100644 index 000000000000..8cf906b607e6 --- /dev/null +++ b/science/py-thewalrus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654053110 +SHA256 (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = a61a360c0fe34922fed2db0a0d6996142f6e9c14e1f5e9fc7686b9a64af9357c +SIZE (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = 1973179 diff --git a/science/py-thewalrus/pkg-descr b/science/py-thewalrus/pkg-descr new file mode 100644 index 000000000000..0dca86f1a12c --- /dev/null +++ b/science/py-thewalrus/pkg-descr @@ -0,0 +1,4 @@ +thewalrus is a library for the calculation of hafnians, Hermite +polynomials and Gaussian boson sampling. + +WWW: https://github.com/XanaduAI/thewalrus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206010342.2513geV2073152>