From owner-svn-ports-all@freebsd.org Mon Mar 26 09:39:43 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BEFEF59249; Mon, 26 Mar 2018 09:39:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2FF97493C; Mon, 26 Mar 2018 09:39:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E964F2EEF; Mon, 26 Mar 2018 09:39:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2Q9dgGt083020; Mon, 26 Mar 2018 09:39:42 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2Q9dg4X083016; Mon, 26 Mar 2018 09:39:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803260939.w2Q9dg4X083016@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 26 Mar 2018 09:39:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465571 - in head/science: . py-OpenFermion X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . py-OpenFermion X-SVN-Commit-Revision: 465571 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 09:39:43 -0000 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 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