pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nlopt: Update to 2.8.0



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sat Aug 10 15:10:41 2024 +1000
Changeset:	3fe36c191cab3bdb560e179e5e68d51a35d18dcb

Modified Files:
	nlopt/COMMIT_MSG
	nlopt/Makefile
	nlopt/PLIST
	nlopt/PLIST.octave
	nlopt/PLIST.python
	nlopt/distinfo
	nlopt/options.mk

Log Message:
nlopt: Update to 2.8.0

NLopt 2.8.0
  - Support C++ functors for objective functions (#457).
  - CCSA/MMA an now use the initial_step parameter to bound their initial
    stepsize, and also expose a new internal parameter rho_init (#561).
  - Install pkg-config file on Windows (#534).
  - Allow having more equality constraints than there are variables (#509).
  - Bugfixes to nlopt_algorithm_name (#558), Matlab NLOPT_GN_AGS (#533), forced
    stop for empty dimensions (#473), SLSQP (#465), and build improvements
    (#551, #535,#510, #445#).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3fe36c191cab3bdb560e179e5e68d51a35d18dcb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nlopt/COMMIT_MSG   | 16 +++++++++++++++-
 nlopt/Makefile     |  2 +-
 nlopt/PLIST        |  3 +--
 nlopt/PLIST.octave |  3 ++-
 nlopt/PLIST.python |  2 +-
 nlopt/distinfo     |  6 +++---
 nlopt/options.mk   |  3 ++-
 7 files changed, 25 insertions(+), 10 deletions(-)

diffs:
diff --git a/nlopt/COMMIT_MSG b/nlopt/COMMIT_MSG
index f7d2c7f8ac..e4188086f0 100644
--- a/nlopt/COMMIT_MSG
+++ b/nlopt/COMMIT_MSG
@@ -1,7 +1,21 @@
-Update to NLopt 2.7.0
+math/nlopt: Update to NLopt 2.8.0
 
 Changes:
 
+NLopt 2.8.0
+  - Support C++ functors for objective functions (#457).
+  - CCSA/MMA an now use the initial_step parameter to bound their initial
+    stepsize, and also expose a new internal parameter rho_init (#561).
+  - Install pkg-config file on Windows (#534).
+  - Allow having more equality constraints than there are variables (#509).
+  - Bugfixes to nlopt_algorithm_name (#558), Matlab NLOPT_GN_AGS (#533), forced
+    stop for empty dimensions (#473), SLSQP (#465), and build improvements
+    (#551, #535,#510, #445#).
+
+NLopt 2.7.1
+  - Various minor bugfixes (#268, #409, #420) and build
+    improvements (support Octave 6.x, Guile 3.x, Cmake 3.2).
+
 NLopt 2.7.0
   - New nlopt_set_param API for setting internal algorithm parameters ([#365]).
   - Avoid library-symbol conflicts ([#355], [#361])
diff --git a/nlopt/Makefile b/nlopt/Makefile
index accdf2aa07..05cf458198 100644
--- a/nlopt/Makefile
+++ b/nlopt/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=		nlopt-2.7.1
+DISTNAME=		nlopt-2.8.0
 CATEGORIES=		math
 MASTER_SITES=		${MASTER_SITE_GITHUB:=stevengj/}
 GITHUB_PROJECT=		nlopt
diff --git a/nlopt/PLIST b/nlopt/PLIST
index 5cea29de42..74674512bc 100644
--- a/nlopt/PLIST
+++ b/nlopt/PLIST
@@ -1,5 +1,4 @@
 @comment $NetBSD$
-include/nlopt.f
 include/nlopt.h
 include/nlopt.hpp
 lib/cmake/nlopt/NLoptConfig.cmake
@@ -8,7 +7,7 @@ lib/cmake/nlopt/NLoptLibraryDepends-release.cmake
 lib/cmake/nlopt/NLoptLibraryDepends.cmake
 lib/libnlopt.so
 lib/libnlopt.so.0
-lib/libnlopt.so.0.11.1
+lib/libnlopt.so.0.12.0
 lib/pkgconfig/nlopt.pc
 man/man3/nlopt.3
 man/man3/nlopt_minimize.3
diff --git a/nlopt/PLIST.octave b/nlopt/PLIST.octave
index d32792c86c..c552cdb343 100644
--- a/nlopt/PLIST.octave
+++ b/nlopt/PLIST.octave
@@ -1,11 +1,12 @@
 @comment $NetBSD$
-lib/octave/${OCTAVE_VERSION}/site/oct/x86_64--netbsd/nlopt_optimize.oct
+lib/octave/${OCTAVE_VERSION}/site/oct/${MACHINE_ARCH}--netbsd/nlopt_optimize.oct
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_AUGLAG.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_AUGLAG_EQ.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GD_MLSL.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GD_MLSL_LDS.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GD_STOGO.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GD_STOGO_RAND.m
+share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GN_AGS.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GN_CRS2_LM.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GN_DIRECT.m
 share/octave/${OCTAVE_VERSION}/site/m/NLOPT_GN_DIRECT_L.m
diff --git a/nlopt/PLIST.python b/nlopt/PLIST.python
index 07ed92fc77..64e3f0313f 100644
--- a/nlopt/PLIST.python
+++ b/nlopt/PLIST.python
@@ -1,3 +1,3 @@
 @comment $NetBSD$
-${PYSITELIB}/_nlopt.so
+${PYSITELIB}/_nlopt.cpython-${PYTHON_VERSION}.so
 ${PYSITELIB}/nlopt.py
diff --git a/nlopt/distinfo b/nlopt/distinfo
index 5a27d46a66..6a18d4eb32 100644
--- a/nlopt/distinfo
+++ b/nlopt/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (nlopt-2.7.1.tar.gz) = cd2c3ab540c794c8e1804fc29b1d0b6804cff226522e3f748d0c083ef579f0ea
-SHA512 (nlopt-2.7.1.tar.gz) = e23cb522fc696010574c14b72be85acc0f8ccf0bf208bf2b8789c57d6c5a6e6d419ee10330581518b1c1567018ae909b626ce7761d4fbd5bf112916871e420e2
-Size (nlopt-2.7.1.tar.gz) = 2044180 bytes
+BLAKE2s (nlopt-2.8.0.tar.gz) = a945dfae2245ffd755f601a6e99745ca816665f4f997b114a2aebb82889d4be5
+SHA512 (nlopt-2.8.0.tar.gz) = cb294caa5532e11ae0d22ed849705920bbae79f712144c840a5ca865ef8e6a15c6c9540c81ced0c3c05b9f44c360d50f74e235e69d893be34b7e1c5599f07c71
+Size (nlopt-2.8.0.tar.gz) = 2050287 bytes
diff --git a/nlopt/options.mk b/nlopt/options.mk
index 6d05dc8940..b87cd70ce6 100644
--- a/nlopt/options.mk
+++ b/nlopt/options.mk
@@ -25,7 +25,7 @@ CMAKE_ARGS+=		-DNLOPT_MATLAB:BOOL=FALSE
 .include "../../math/octave/buildlink3.mk"
 CMAKE_ARGS+=		-DNLOPT_OCTAVE:BOOL=TRUE
 PLIST_SRC+=		PLIST.octave
-PLIST_SUBST+=		OCTAVE_VERSION=6.4.0
+PLIST_SUBST+=		OCTAVE_VERSION=9.2.0
 .else
 CMAKE_ARGS+=		-DNLOPT_OCTAVE:BOOL=FALSE
 .endif
@@ -37,6 +37,7 @@ CMAKE_ARGS+=		-DNLOPT_OCTAVE:BOOL=FALSE
 CMAKE_ARGS+=		-DNLOPT_PYTHON:BOOL=TRUE
 PLIST_SRC+=		PLIST.python
 PLIST_SUBST+=		PYSITELIB=${PYSITELIB}
+PLIST_SUBST+=		PYTHON_VERSION=${PYTHON_VERSION}
 .else
 CMAKE_ARGS+=		-DNLOPT_PYTHON:BOOL=FALSE
 .endif


Home | Main Index | Thread Index | Old Index