From owner-svn-ports-head@freebsd.org Sat Jul 9 17:11:53 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C389EB833E5; Sat, 9 Jul 2016 17:11:53 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id 748171CAA; Sat, 9 Jul 2016 17:11:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u69HBqZj017601; Sat, 9 Jul 2016 17:11:52 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u69HBqnx017595; Sat, 9 Jul 2016 17:11:52 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201607091711.u69HBqnx017595@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 9 Jul 2016 17:11:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418286 - in head/math: . py-pysparse py-pysparse/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 17:11:53 -0000 Author: jbeich Date: Sat Jul 9 17:11:52 2016 New Revision: 418286 URL: https://svnweb.freebsd.org/changeset/ports/418286 Log: math/py-pysparse: add new port PR: 210595 Submitted by: yuri@rawbw.com PySparse extends the Python interpreter by a set of sparse matrix types holding double precision values. PySparse also includes modules that implement: - iterative methods for solving linear systems of equations - a set of standard preconditioners - an interface to a direct solver for sparse linear systems of equations (SuperLU) - a Jacobi-Davidson eigenvalue solver for the symmetric, generalised matrix eigenvalue problem (JDSYM) https://github.com/PythonOptimizers/pysparse Added: head/math/py-pysparse/ head/math/py-pysparse/Makefile (contents, props changed) head/math/py-pysparse/distinfo (contents, props changed) head/math/py-pysparse/files/ head/math/py-pysparse/files/patch-setup.py (contents, props changed) head/math/py-pysparse/pkg-descr (contents, props changed) Modified: head/math/Makefile (contents, props changed) Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sat Jul 9 16:10:08 2016 (r418285) +++ head/math/Makefile Sat Jul 9 17:11:52 2016 (r418286) @@ -620,6 +620,7 @@ SUBDIR += py-pyfst SUBDIR += py-pyhull SUBDIR += py-pymc + SUBDIR += py-pysparse SUBDIR += py-pyvtk SUBDIR += py-roman SUBDIR += py-scientific Added: head/math/py-pysparse/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pysparse/Makefile Sat Jul 9 17:11:52 2016 (r418286) @@ -0,0 +1,32 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= pysparse +PORTVERSION= 1.3 +CATEGORIES= math python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION}-dev + +MAINTAINER= yuri@rawbw.com +COMMENT= Fast sparse matrix library for Python + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2:math/py-numpy +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2:math/py-numpy +LIB_DEPENDS= liblapack.so:math/lapack \ + libblas.so:math/blas \ + libopenblas.so:math/openblas \ + libcblas.so:math/cblas + +USE_GITHUB= yes +GH_ACCOUNT= PythonOptimizers +GH_TAGNAME= f8430bd + +LDFLAGS+= -shared # Workaround for an obscure bug in py-numpy, see https://github.com/numpy/numpy/issues/7779 + +USES= fortran python # fortran is needed for the correct build flags passed to py-numpy extension build process +USE_PYTHON= distutils autoplist + +.include Added: head/math/py-pysparse/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pysparse/distinfo Sat Jul 9 17:11:52 2016 (r418286) @@ -0,0 +1,3 @@ +TIMESTAMP = 1466932869 +SHA256 (pysparse-1.3-dev_GH0.tar.gz) = 4c4ad1e02a97ea257365331f677205c76e572d22eafbe818f39c4eb462987848 +SIZE (pysparse-1.3-dev_GH0.tar.gz) = 1301990 Added: head/math/py-pysparse/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pysparse/files/patch-setup.py Sat Jul 9 17:11:52 2016 (r418286) @@ -0,0 +1,19 @@ +--- setup.py.orig 2016-06-10 21:29:48 UTC ++++ setup.py +@@ -109,7 +109,7 @@ def get_version(): + version = '1.3' + release = False + if not release: +- version += '-dev' + svn_version() ++ version += '-dev' + return version + + def write_version_py(filename=os.path.join('pysparse', 'version.py')): +@@ -142,7 +142,6 @@ def setup_package(): + author_email = "{hamsel,d-orban,wd15}@sf.net,", + maintainer = "PySparse Developers", + maintainer_email = "{hamsel,d-orban,wd15}@sf.net,", +- summary = "Fast sparse matrix library for Python", + description = "Fast sparse matrix library for Python", + long_description = "\n".join(DOCLINES[2:]), + url = "pysparse.sf.net", Added: head/math/py-pysparse/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pysparse/pkg-descr Sat Jul 9 17:11:52 2016 (r418286) @@ -0,0 +1,12 @@ +PySparse extends the Python interpreter by a set of sparse matrix +types holding double precision values. PySparse also includes modules +that implement: + +- iterative methods for solving linear systems of equations +- a set of standard preconditioners +- an interface to a direct solver for sparse linear systems of + equations (SuperLU) +- a Jacobi-Davidson eigenvalue solver for the symmetric, generalised + matrix eigenvalue problem (JDSYM) + +WWW: https://github.com/PythonOptimizers/pysparse