summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyquil/Makefile26
-rw-r--r--devel/py-pyquil/distinfo3
-rw-r--r--devel/py-pyquil/pkg-descr11
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b97ff1004f7c..4e2ee38fd6e4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5087,6 +5087,7 @@
SUBDIR += py-pypugjs
SUBDIR += py-pyqtree
SUBDIR += py-pyquery
+ SUBDIR += py-pyquil
SUBDIR += py-pyral
SUBDIR += py-pyrepl
SUBDIR += py-pyrfc3339
diff --git a/devel/py-pyquil/Makefile b/devel/py-pyquil/Makefile
new file mode 100644
index 000000000000..976bb4d5eca5
--- /dev/null
+++ b/devel/py-pyquil/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pyquil
+DISTVERSION= 3.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= PyQuil: Quantum programming in Python
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}lark-parser>=0.11.1:devel/py-lark-parser@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>=2.5:math/py-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}qcs-api-client>=0.8.1:devel/py-qcs-api-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}retry2>=0.9.2:devel/py-retry2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rpcq>=3.6.0:devel/py-rpcq@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.6.1:science/py-scipy@${PY_FLAVOR}
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.8+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyquil/distinfo b/devel/py-pyquil/distinfo
new file mode 100644
index 000000000000..32abb4520472
--- /dev/null
+++ b/devel/py-pyquil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653960969
+SHA256 (pyquil-3.1.0.tar.gz) = 8ca8b67fe1cc4dcbee06a061edf876df1c2172edf21e979d4bf1e8c640616db3
+SIZE (pyquil-3.1.0.tar.gz) = 180284
diff --git a/devel/py-pyquil/pkg-descr b/devel/py-pyquil/pkg-descr
new file mode 100644
index 000000000000..3a938a6a411b
--- /dev/null
+++ b/devel/py-pyquil/pkg-descr
@@ -0,0 +1,11 @@
+PyQuil is a Python library for quantum programming using Quil, the quantum
+instruction language developed at Rigetti Computing. PyQuil serves three main
+functions:
+
+* Easily generating Quil programs from quantum gates and classical operations
+* Compiling and simulating Quil programs using the Quil Compiler (quilc) and the
+ Quantum Virtual Machine (QVM)
+* Executing Quil programs on real quantum processors (QPUs) using Quantum Cloud
+ Services (QCS)
+
+WWW: https://github.com/rigetti/pyquil