Date: Tue, 17 Apr 2018 08:07:38 +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: r467576 - in head/math: . py-pyipopt py-pyipopt/files Message-ID: <201804170807.w3H87cpB078761@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804170807.w3H87cpB078761>