From owner-svn-ports-head@freebsd.org Tue Apr 17 08:07:39 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 37143F8C1F2; Tue, 17 Apr 2018 08:07:39 +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 DF27280511; Tue, 17 Apr 2018 08:07:38 +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 D856E19A8; Tue, 17 Apr 2018 08:07:38 +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 w3H87cQb078766; Tue, 17 Apr 2018 08:07:38 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3H87cpB078761; Tue, 17 Apr 2018 08:07:38 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804170807.w3H87cpB078761@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 17 Apr 2018 08:07:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467576 - in head/math: . py-pyipopt py-pyipopt/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-pyipopt py-pyipopt/files X-SVN-Commit-Revision: 467576 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: Tue, 17 Apr 2018 08:07:39 -0000 Author: yuri Date: Tue Apr 17 08:07:38 2018 New Revision: 467576 URL: https://svnweb.freebsd.org/changeset/ports/467576 Log: New port: math/py-pyipopt: Use ipopt (an optimization tool) via python Added: head/math/py-pyipopt/ head/math/py-pyipopt/Makefile (contents, props changed) head/math/py-pyipopt/distinfo (contents, props changed) head/math/py-pyipopt/files/ head/math/py-pyipopt/files/patch-setup.py (contents, props changed) head/math/py-pyipopt/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Tue Apr 17 08:05:58 2018 (r467575) +++ head/math/Makefile Tue Apr 17 08:07:38 2018 (r467576) @@ -691,6 +691,7 @@ SUBDIR += py-pycosat SUBDIR += py-pygsl SUBDIR += py-pyhull + SUBDIR += py-pyipopt SUBDIR += py-pymc SUBDIR += py-pymc3 SUBDIR += py-pyneqsys Added: head/math/py-pyipopt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyipopt/Makefile Tue Apr 17 08:07:38 2018 (r467576) @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= pyipopt +DISTVERSION= g20180409 +CATEGORIES= math python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Use ipopt (an optimization tool) via python + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${PYNUMPY} +LIB_DEPENDS= libipopt.so:math/ipopt +RUN_DEPENDS= ${PYNUMPY} + +USES= dos2unix python +USE_GITHUB= yes +GH_ACCOUNT= xuy +GH_TAGNAME= 36bcb7f +DOS2UNIX_FILES= setup.py +USE_PYTHON= distutils autoplist + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyipopt/pyipoptcore.so + +.include Added: head/math/py-pyipopt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyipopt/distinfo Tue Apr 17 08:07:38 2018 (r467576) @@ -0,0 +1,3 @@ +TIMESTAMP = 1523951951 +SHA256 (xuy-pyipopt-g20180409-36bcb7f_GH0.tar.gz) = 4315e9911fda864ce5613518bc2ce8d22d2173fa519e487ab895ff099659498b +SIZE (xuy-pyipopt-g20180409-36bcb7f_GH0.tar.gz) = 17677 Added: head/math/py-pyipopt/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyipopt/files/patch-setup.py Tue Apr 17 08:07:38 2018 (r467576) @@ -0,0 +1,16 @@ +--- setup.py.orig 2018-04-17 07:40:56 UTC ++++ setup.py +@@ -48,11 +48,11 @@ pyipopt_extension = Extension( + #extra_link_args=['-Wl,--rpath','-Wl,'+ IPOPT_LIB], + library_dirs=[IPOPT_LIB], + libraries=[ +- 'ipopt', 'coinblas', ++ 'ipopt', + #'coinhsl', + 'coinmumps', + 'coinmetis', +- 'coinlapack','dl','m', ++ 'm', + ], + include_dirs=[numpy_include, IPOPT_INC], + ) Added: head/math/py-pyipopt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-pyipopt/pkg-descr Tue Apr 17 08:07:38 2018 (r467576) @@ -0,0 +1,3 @@ +PyIpopt is a python module that allows you to use Ipopt in Python. + +WWW: https://github.com/xuy/pyipopt