From owner-svn-ports-head@freebsd.org Sun Apr 1 05:50:08 2018 Return-Path: Delivered-To: svn-ports-head@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 8A88AF9CDAF; Sun, 1 Apr 2018 05:50:08 +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 38F8E6DE46; Sun, 1 Apr 2018 05:50:08 +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 33D5922B2C; Sun, 1 Apr 2018 05:50:08 +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 w315o8eB093510; Sun, 1 Apr 2018 05:50:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w315o7Ya093506; Sun, 1 Apr 2018 05:50:07 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804010550.w315o7Ya093506@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 1 Apr 2018 05:50:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466118 - in head/math: . py-pyneqsys X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-pyneqsys X-SVN-Commit-Revision: 466118 X-SVN-Commit-Repository: ports 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.25 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: Sun, 01 Apr 2018 05:50:08 -0000 Author: yuri Date: Sun Apr 1 05:50:07 2018 New Revision: 466118 URL: https://svnweb.freebsd.org/changeset/ports/466118 Log: New port: math/py-pyneqsys: Solver of symbolically defined systems of non-linear equations Added: head/math/py-pyneqsys/ head/math/py-pyneqsys/Makefile (contents, props changed) head/math/py-pyneqsys/distinfo (contents, props changed) head/math/py-pyneqsys/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sun Apr 1 05:44:32 2018 (r466117) +++ head/math/Makefile Sun Apr 1 05:50:07 2018 (r466118) @@ -674,6 +674,7 @@ SUBDIR += py-pyhull SUBDIR += py-pymc SUBDIR += py-pymc3 + SUBDIR += py-pyneqsys SUBDIR += py-pysparse SUBDIR += py-pysym SUBDIR += py-pyvtk Added: head/math/py-pyneqsys/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyneqsys/Makefile Sun Apr 1 05:50:07 2018 (r466118) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= pyneqsys +DISTVERSION= 0.5.4 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Solver of symbolically defined systems of non-linear equations + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}fastcache>0:devel/py-fastcache@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sym>=0.3.1:math/py-sym@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Added: head/math/py-pyneqsys/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyneqsys/distinfo Sun Apr 1 05:50:07 2018 (r466118) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522356158 +SHA256 (pyneqsys-0.5.4.tar.gz) = 1d6bdc91b920b249117cd7a35c6b9b50143ffa65f124eafec68388f16c0d461b +SIZE (pyneqsys-0.5.4.tar.gz) = 25055 Added: head/math/py-pyneqsys/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyneqsys/pkg-descr Sun Apr 1 05:50:07 2018 (r466118) @@ -0,0 +1,17 @@ +pyneqsys provides a convenience class for representing and solving non-linear +equation systems from symbolic expressions (provided e.g. with the help of +SymPy). + +The numerical root finding is perfomed using either: +* scipy: scipy.optimize.root +* mpmath (arbitrary precision): mpmath.calculus.optimization.MDNewton +* kinsol (from SUNDIALS): pykinsol.solve +* nleq2 (ZIB library free for academic use): pynleq2.solve +* levmar (Levenberg-Marquardt): levmar.levmar + +In addition to offering a unified interface to different solvers, pyneqsys can +also derive the Jacobian analytically (when using pyneqsys.SymbolicSys). This +is useful since doing so manually is widely recognized as both tedious and error +prone. + +WWW: https://github.com/bjodah/pyneqsys