From a945b0227b976641a051bb095dfc7db3b654bac1 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 12 Mar 2024 14:15:14 +0100 Subject: [PATCH] [math/py-eigenpy] Update to v3.4.0 Upstream changelog: ## [3.4.0] - 2024-02-26 ### Added - Support for `Eigen::SparseMatrix` types (https://github.com/stack-of-tasks/eigenpy/pull/426) - Support for `boost::variant` types with `VariantConverter` (https://github.com/stack-of-tasks/eigenpy/pull/430) - Support for `std::variant` types with `VariantConverter` (https://github.com/stack-of-tasks/eigenpy/pull/431) - Support for `std::unique_ptr` as a return types with `StdUniquePtrCallPolicies` and `boost::python::default_call_policies` (https://github.com/stack-of-tasks/eigenpy/pull/433) - Support for `std::unique_ptr` as an internal reference with `ReturnInternalStdUniquePtr` (https://github.com/stack-of-tasks/eigenpy/pull/433) - Support for `Eigen::Simplicial{LLT,LDLT}` and `Eigen::Cholmod{Simplicial,Supernodal}{LLT,LDLT}` Cholesky de compositions (https://github.com/stack-of-tasks/eigenpy/pull/438) - Switch to ruff for lints, format, and import sort (https://github.com/stack-of-tasks/eigenpy/pull/441) ### Fixed - Fix the issue of missing exposition of Eigen types with __int64 scalar type (https://github.com/stack-of-tasks/eigenpy/pull/426) - Fix namespace use in unittest/std_pair.cpp (https://github.com/stack-of-tasks/eigenpy/pull/429) - Fix case of zero-size sparse matrices (https://github.com/stack-of-tasks/eigenpy/pull/437) Packaging changes: - remove patch-aa, fixed upstream --- math/py-eigenpy/Makefile | 2 +- math/py-eigenpy/PLIST | 13 +++++++++++++ math/py-eigenpy/distinfo | 7 +++---- math/py-eigenpy/patches/patch-aa | 20 -------------------- 4 files changed, 17 insertions(+), 25 deletions(-) delete mode 100644 math/py-eigenpy/patches/patch-aa diff --git a/math/py-eigenpy/Makefile b/math/py-eigenpy/Makefile index d43714341..6975610ec 100644 --- a/math/py-eigenpy/Makefile +++ b/math/py-eigenpy/Makefile @@ -4,7 +4,7 @@ ORG= stack-of-tasks NAME= eigenpy -VERSION= 3.3.0 +VERSION= 3.4.0 CATEGORIES= math COMMENT= Eigen bindings to python diff --git a/math/py-eigenpy/PLIST b/math/py-eigenpy/PLIST index df06796d9..2b54928f1 100644 --- a/math/py-eigenpy/PLIST +++ b/math/py-eigenpy/PLIST @@ -7,15 +7,21 @@ include/eigenpy/copyable.hpp include/eigenpy/decompositions/EigenSolver.hpp include/eigenpy/decompositions/LDLT.hpp include/eigenpy/decompositions/LLT.hpp +include/eigenpy/decompositions/PermutationMatrix.hpp include/eigenpy/decompositions/SelfAdjointEigenSolver.hpp include/eigenpy/decompositions/decompositions.hpp include/eigenpy/decompositions/minres.hpp +include/eigenpy/decompositions/sparse/LDLT.hpp +include/eigenpy/decompositions/sparse/LLT.hpp +include/eigenpy/decompositions/sparse/SimplicialCholesky.hpp +include/eigenpy/decompositions/sparse/SparseSolverBase.hpp include/eigenpy/deprecated.hpp include/eigenpy/details.hpp include/eigenpy/eigen-allocator.hpp include/eigenpy/eigen-from-python.hpp include/eigenpy/eigen-to-python.hpp include/eigenpy/eigen-typedef.hpp +include/eigenpy/eigen/EigenBase.hpp include/eigenpy/eigenpy.hpp include/eigenpy/exception.hpp include/eigenpy/expose.hpp @@ -34,6 +40,8 @@ include/eigenpy/register.hpp include/eigenpy/registration.hpp include/eigenpy/registration_class.hpp include/eigenpy/scalar-conversion.hpp +include/eigenpy/scipy-allocator.hpp +include/eigenpy/scipy-type.hpp include/eigenpy/solvers/BFGSPreconditioners.hpp include/eigenpy/solvers/BasicPreconditioners.hpp include/eigenpy/solvers/ConjugateGradient.hpp @@ -42,9 +50,11 @@ include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp include/eigenpy/solvers/SparseSolverBase.hpp include/eigenpy/solvers/preconditioners.hpp include/eigenpy/solvers/solvers.hpp +include/eigenpy/sparse/eigen-from-python.hpp include/eigenpy/std-array.hpp include/eigenpy/std-map.hpp include/eigenpy/std-pair.hpp +include/eigenpy/std-unique-ptr.hpp include/eigenpy/std-vector.hpp include/eigenpy/stride.hpp include/eigenpy/swig.hpp @@ -53,7 +63,10 @@ include/eigenpy/ufunc.hpp include/eigenpy/user-type.hpp include/eigenpy/utils/is-aligned.hpp include/eigenpy/utils/is-approx.hpp +include/eigenpy/utils/python-compat.hpp include/eigenpy/utils/scalar-name.hpp +include/eigenpy/utils/traits.hpp +include/eigenpy/variant.hpp include/eigenpy/version.hpp include/eigenpy/warning.hpp lib/cmake/eigenpy/boost.cmake diff --git a/math/py-eigenpy/distinfo b/math/py-eigenpy/distinfo index 84a6fcd08..aeea7d667 100644 --- a/math/py-eigenpy/distinfo +++ b/math/py-eigenpy/distinfo @@ -1,4 +1,3 @@ -SHA1 (eigenpy-3.3.0.tar.gz) = 8f80c868dbd02043a9069b3e8fc98a8c814061cc -RMD160 (eigenpy-3.3.0.tar.gz) = f75e44a65a9531ad561d1f10c3abe5fc378e28f0 -Size (eigenpy-3.3.0.tar.gz) = 1026896 bytes -SHA1 (patch-aa) = f45039d1d0c78d6b7826b80d8bdaed0ab79c037f +SHA1 (eigenpy-3.4.0.tar.gz) = f518ff7f6c2f2cabcc76b036205fd66f76f03f98 +RMD160 (eigenpy-3.4.0.tar.gz) = 12bc2df3dd5b58344acaae2f66d0375fddf997b5 +Size (eigenpy-3.4.0.tar.gz) = 1047907 bytes diff --git a/math/py-eigenpy/patches/patch-aa b/math/py-eigenpy/patches/patch-aa deleted file mode 100644 index d81756505..000000000 --- a/math/py-eigenpy/patches/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ -For some reason, g++-7 has an issue with the 'bp' namespace when also using -namespace 'eigenpy'. - ---- unittest/std_pair.cpp~ 2024-01-23 09:55:37.000000000 +0100 -+++ unittest/std_pair.cpp 2024-01-30 11:11:37.442108014 +0100 -@@ -18,12 +18,11 @@ - } - - BOOST_PYTHON_MODULE(std_pair) { -- using namespace eigenpy; - -- enableEigenPy(); -+ eigenpy::enableEigenPy(); - - typedef std::pair PairType; -- StdPairConverter::registration(); -+ eigenpy::StdPairConverter::registration(); - - bp::def("std_pair_to_tuple", std_pair_to_tuple); - bp::def("copy", copy);