Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 09:39:42 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465571 - in head/science: . py-OpenFermion
Message-ID:  <201803260939.w2Q9dg4X083016@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803260939.w2Q9dg4X083016>