aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-11 22:52:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-11 22:52:55 +0000
commitf5225f932d292519586925b795d573073b5caf7f (patch)
tree74394dc932957fa16f08b83aba08ba8811c5c690
parent747c3df6b95809292ae5d2c772ef2c3f1fe55e3e (diff)
downloadports-f5225f932d292519586925b795d573073b5caf7f.tar.gz
ports-f5225f932d292519586925b795d573073b5caf7f.zip
science/py-OpenFermion-Dirac: New port: Interface between OpenFermion and Dirac
-rw-r--r--science/Makefile1
-rw-r--r--science/py-OpenFermion-Dirac/Makefile25
-rw-r--r--science/py-OpenFermion-Dirac/distinfo3
-rw-r--r--science/py-OpenFermion-Dirac/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 38f51c5d1a97..1c2f5aeb8a0c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -255,6 +255,7 @@
SUBDIR += py-MDAnalysis
SUBDIR += py-MDAnalysisTests
SUBDIR += py-OpenFermion
+ SUBDIR += py-OpenFermion-Dirac
SUBDIR += py-OpenMC
SUBDIR += py-PubChemPy
SUBDIR += py-PyFR
diff --git a/science/py-OpenFermion-Dirac/Makefile b/science/py-OpenFermion-Dirac/Makefile
new file mode 100644
index 000000000000..ce4d801b5481
--- /dev/null
+++ b/science/py-OpenFermion-Dirac/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= OpenFermion-Dirac
+DISTVERSION= g20200831
+CATEGORIES= science python # chemistry, quantum-computing
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Interface between OpenFermion and Dirac
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}OpenFermion>0:science/py-OpenFermion@${PY_FLAVOR} \
+ dirac-quantum-chemistry-software>0>0:science/dirac
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+USE_GITHUB= yes
+GH_ACCOUNT= bsenjean
+GH_PROJECT= Openfermion-Dirac
+GH_TAGNAME= cc08a66
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-OpenFermion-Dirac/distinfo b/science/py-OpenFermion-Dirac/distinfo
new file mode 100644
index 000000000000..5dc84243e306
--- /dev/null
+++ b/science/py-OpenFermion-Dirac/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1660255225
+SHA256 (bsenjean-Openfermion-Dirac-g20200831-cc08a66_GH0.tar.gz) = 74fc13393a5849cb30e6484d8f325faf8109ef2978c6f72df62936ce83153998
+SIZE (bsenjean-Openfermion-Dirac-g20200831-cc08a66_GH0.tar.gz) = 35007
diff --git a/science/py-OpenFermion-Dirac/pkg-descr b/science/py-OpenFermion-Dirac/pkg-descr
new file mode 100644
index 000000000000..bdaf521dcda0
--- /dev/null
+++ b/science/py-OpenFermion-Dirac/pkg-descr
@@ -0,0 +1,4 @@
+OpenFermion-Dirac is an interface between Openfermion and Dirac to perform
+relativistic quantum chemistry calculations simulated on a quantum computer.
+
+WWW: https://github.com/bsenjean/Openfermion-Dirac