summaryrefslogtreecommitdiff
path: root/science/py-dwave-gate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-dwave-gate/Makefile')
-rw-r--r--science/py-dwave-gate/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/science/py-dwave-gate/Makefile b/science/py-dwave-gate/Makefile
new file mode 100644
index 000000000000..cd726d2113cb
--- /dev/null
+++ b/science/py-dwave-gate/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= dwave-gate
+DISTVERSION= 0.3.4
+CATEGORIES= science python # quantum-computing
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= DWave: Gate model library
+WWW= https://github.com/dwavesystems/dwave-gate
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= python
+USE_PYTHON= pep517 cython3 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+.include <bsd.port.mk>