Bug 237274

Summary: math/nlopt: Update to version 2.6.1
Product: Ports & Packages Reporter: Rainer Hurling <rhurlin>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: rhurlin
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to update math/nlopt from 2.5.0 to 2.6.1 rhurlin: maintainer-approval+

Description Rainer Hurling freebsd_committer freebsd_triage 2019-04-14 09:11:19 UTC
Created attachment 203657 [details]
patch to update math/nlopt from 2.5.0 to 2.6.1

This patch updates NLopt from version 2.5.0 to 2.6.1, which brings some new features and several bug fixes:

- Fix nlopt_version result for 2.6.x and update soname.
- New nlopt_set_upper_bound and nlopt_set_lower_bound functions
  in the low-level C API to set one bound at a time
- There is no longer a separate libnlopt_cxx library:
  C++ algorithms (STOGO and AGS) are compiled and 
  included by default
- Various build fixes


What the port does:

- Update to version 2.6.1
- Reorder LIB_DEPENDS after RUN_DEPENDS
- Switch from Python 2.7 to 3.6 (default)
- Update version of NumPy dependency
- Update pkg-plist


The patch is tested on Poudriere (11.2i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.
Comment 1 Steve Wills freebsd_committer freebsd_triage 2019-04-15 11:35:21 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-04-15 11:36:08 UTC
A commit references this bug:

Author: swills
Date: Mon Apr 15 11:35:09 UTC 2019
New revision: 499016
URL: https://svnweb.freebsd.org/changeset/ports/499016

Log:
  math/nlopt: Update to version 2.6.1

  PR:		237274
  Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)

Changes:
  head/math/nlopt/Makefile
  head/math/nlopt/distinfo
  head/math/nlopt/pkg-plist