svn commit: r465571 - in head/science: . py-OpenFermion
Yuri Victorovich
yuri at FreeBSD.org
Mon Mar 26 09:39:43 UTC 2018
Author: yuri
Date: Mon Mar 26 09:39:42 2018
New Revision: 465571
URL: https://svnweb.freebsd.org/changeset/ports/465571
Log:
New port: science/py-OpenFermion: Electronic structure package for quantum computers
Added:
head/science/py-OpenFermion/
head/science/py-OpenFermion/Makefile (contents, props changed)
head/science/py-OpenFermion/distinfo (contents, props changed)
head/science/py-OpenFermion/pkg-descr (contents, props changed)
Modified:
head/science/Makefile
Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile Mon Mar 26 09:33:22 2018 (r465570)
+++ head/science/Makefile Mon Mar 26 09:39:42 2018 (r465571)
@@ -158,6 +158,7 @@
SUBDIR += psychopy
SUBDIR += pulseview
SUBDIR += py-DendroPy
+ SUBDIR += py-OpenFermion
SUBDIR += py-cdo
SUBDIR += py-coards
SUBDIR += py-h5py
Added: head/science/py-OpenFermion/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-OpenFermion/Makefile Mon Mar 26 09:39:42 2018 (r465571)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= OpenFermion
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4
+CATEGORIES= science python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Electronic structure package for quantum computers
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0.18.0:science/py-scipy@${FLAVOR} \
+ ${PYNUMPY}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= quantumlib
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+post-patch: # workaround for https://github.com/quantumlib/OpenFermion/issues/289 (non-ascii file)
+ @truncate -s 0 ${WRKSRC}/README.rst
+
+.include <bsd.port.mk>
Added: head/science/py-OpenFermion/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-OpenFermion/distinfo Mon Mar 26 09:39:42 2018 (r465571)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522033438
+SHA256 (quantumlib-OpenFermion-v0.4_GH0.tar.gz) = 1073c74d71bf81efa64c5956f24a68b88f2de4c8e9f0eaf83da5536ba2137510
+SIZE (quantumlib-OpenFermion-v0.4_GH0.tar.gz) = 354007
Added: head/science/py-OpenFermion/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-OpenFermion/pkg-descr Mon Mar 26 09:39:42 2018 (r465571)
@@ -0,0 +1,7 @@
+OpenFermion is an open source effort for compiling and analyzing quantum
+algorithms to simulate fermionic systems, including quantum chemistry.
+Among other functionalities, the current version features data structures
+and tools for obtaining and manipulating representations of fermionic and
+qubit Hamiltonians.
+
+WWW: https://github.com/quantumlib/OpenFermion
More information about the svn-ports-head
mailing list