Skip to content
Snippets Groups Projects
Commit c3917216 authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

science/py-thewalrus: New port: Open source library for hafnian calculation

parent e6b4d197
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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>
TIMESTAMP = 1654053110
SHA256 (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = a61a360c0fe34922fed2db0a0d6996142f6e9c14e1f5e9fc7686b9a64af9357c
SIZE (XanaduAI-thewalrus-v0.19.0_GH0.tar.gz) = 1973179
thewalrus is a library for the calculation of hafnians, Hermite
polynomials and Gaussian boson sampling.
WWW: https://github.com/XanaduAI/thewalrus
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment