From owner-svn-ports-all@freebsd.org Sun Dec 9 14:53:58 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 669751323D20; Sun, 9 Dec 2018 14:53:58 +0000 (UTC) (envelope-from riggs@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 0861B6E243; Sun, 9 Dec 2018 14:53:58 +0000 (UTC) (envelope-from riggs@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 D87F412C7C; Sun, 9 Dec 2018 14:53:57 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB9ErvwS018127; Sun, 9 Dec 2018 14:53:57 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB9ErvAZ018123; Sun, 9 Dec 2018 14:53:57 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201812091453.wB9ErvAZ018123@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sun, 9 Dec 2018 14:53:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487051 - head/math/nlopt X-SVN-Group: ports-head X-SVN-Commit-Author: riggs X-SVN-Commit-Paths: head/math/nlopt X-SVN-Commit-Revision: 487051 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0861B6E243 X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-0.99)[-0.991,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 09 Dec 2018 14:53:58 -0000 Author: riggs Date: Sun Dec 9 14:53:56 2018 New Revision: 487051 URL: https://svnweb.freebsd.org/changeset/ports/487051 Log: Update to upstream version 2.5.0 Detailed maintainer log: - Update from 2.4.2 to 2.5.0 - Change sources from MASTER_SITES to GitHub - Update version of Python dependency - Remove CONFIGURE - Add CFLAGS to find gmp.h - Remov INSTALL_TARGET - Update WWW in pkg-descr - Update pkg-plist The new version brings some enhancements and changes: - New AGS global solver (#194), thanks to Vladislav Sovrasov - New nlopt_get_numevals function providing a built-in evaluation counter (#160) - New nlopt_get_errmsg function for more descriptive error messages - Build system is converted from autotools to cmake (#49), thanks to Julien Schueller - Plugins updated for recent Octave and Guile versions - Various other build fixes and minor bug fixes PR: 233497 Submitted by: rhurlin@gwdg.de (maintainer) Modified: head/math/nlopt/Makefile head/math/nlopt/distinfo head/math/nlopt/pkg-descr head/math/nlopt/pkg-plist Modified: head/math/nlopt/Makefile ============================================================================== --- head/math/nlopt/Makefile Sun Dec 9 14:47:15 2018 (r487050) +++ head/math/nlopt/Makefile Sun Dec 9 14:53:56 2018 (r487051) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= nlopt -PORTVERSION= 2.4.2 -PORTREVISION= 3 +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.0 CATEGORIES= math -MASTER_SITES= http://ab-initio.mit.edu/nlopt/ MAINTAINER= rhurlin@gwdg.de COMMENT= Nonlinear optimization library @@ -20,17 +19,16 @@ BROKEN_armv7= fails to package: Unable to access file LIB_DEPENDS= libgmp.so:math/gmp \ libguile-2.0.so:lang/guile2 BUILD_DEPENDS= swig3.0:devel/swig30 \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared -CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" - -USES= autoreconf compiler:features libtool pathfix \ - pkgconfig python:2.7 +USES= cmake compiler:features pathfix pkgconfig python:2.7 USE_LDCONFIG= yes -INSTALL_TARGET= install-strip +USE_GITHUB= yes +GH_ACCOUNT= stevengj + +# Needed to find gmp.h +CFLAGS+= -I${LOCALBASE}/include .include Modified: head/math/nlopt/distinfo ============================================================================== --- head/math/nlopt/distinfo Sun Dec 9 14:47:15 2018 (r487050) +++ head/math/nlopt/distinfo Sun Dec 9 14:53:56 2018 (r487051) @@ -1,2 +1,3 @@ -SHA256 (nlopt-2.4.2.tar.gz) = 8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89 -SIZE (nlopt-2.4.2.tar.gz) = 2361992 +TIMESTAMP = 1543131988 +SHA256 (stevengj-nlopt-v2.5.0_GH0.tar.gz) = c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae +SIZE (stevengj-nlopt-v2.5.0_GH0.tar.gz) = 2403609 Modified: head/math/nlopt/pkg-descr ============================================================================== --- head/math/nlopt/pkg-descr Sun Dec 9 14:47:15 2018 (r487050) +++ head/math/nlopt/pkg-descr Sun Dec 9 14:53:56 2018 (r487051) @@ -14,5 +14,7 @@ other algorithms. Its features include: algorithms exploiting user-supplied gradients. - Algorithms for unconstrained optimization, bound-constrained optimization, and general nonlinear inequality/equality constraints. + - Free/open-source software under the GNU LGPL + (and looser licenses for some portions of NLopt). -WWW: http://ab-initio.mit.edu/wiki/index.php/NLopt +WWW: https://nlopt.readthedocs.io/en/latest/ Modified: head/math/nlopt/pkg-plist ============================================================================== --- head/math/nlopt/pkg-plist Sun Dec 9 14:47:15 2018 (r487050) +++ head/math/nlopt/pkg-plist Sun Dec 9 14:53:56 2018 (r487051) @@ -1,21 +1,18 @@ include/nlopt.f include/nlopt.h include/nlopt.hpp -lib/libnlopt.a +lib/cmake/nlopt/NLoptConfig.cmake +lib/cmake/nlopt/NLoptConfigVersion.cmake +lib/cmake/nlopt/NLoptLibraryDepends-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/nlopt/NLoptLibraryDepends.cmake +lib/guile/2.0/extensions/nlopt_guile.so lib/libnlopt.so lib/libnlopt.so.0 -lib/libnlopt.so.0.8.2 -lib/libnlopt_guile.a -lib/libnlopt_guile.so -lib/libnlopt_guile.so.0 -lib/libnlopt_guile.so.0.8.2 -libdata/pkgconfig/nlopt.pc -%%PYTHON_SITELIBDIR%%/_nlopt.a +lib/libnlopt.so.0.9.0 %%PYTHON_SITELIBDIR%%/_nlopt.so -%%PYTHON_SITELIBDIR%%/_nlopt.so.0 -%%PYTHON_SITELIBDIR%%/_nlopt.so.0.8.2 %%PYTHON_SITELIBDIR%%/nlopt.py -%%PYTHON_SITELIBDIR%%/nlopt.pyc -%%PYTHON_SITELIBDIR%%/nlopt.pyo +libdata/pkgconfig/nlopt.pc man/man3/nlopt.3.gz +man/man3/nlopt_minimize.3.gz +man/man3/nlopt_minimize_constrained.3.gz share/guile/site/2.0/nlopt.scm