boost/python_library_name.patch
Adam Majer bc55ed7b25 Accepting request 629938 from home:adamm:boost_test
- Update to version 1.68.0
  New libraries:
  * YAP: An expression template library for C++14 and later
  Breaking changes since 1.67.0:
  * uuid: sha1 detail namespace header redirection for backwards
    compatibility was removed
  * signals: Boost.Signals will be removed in the next release.
    Boost.Signals was deprecated in version 1.54.0.
    Transition to Boost.Signals2 now to avoid disruption.
  Updated libraries: Beast, Context, Coroutine2, Fiber, Fusion,
  Geometry, GIL, Graph, Lexical Cast, Log, Math,
  Multi-index containers, Optional, Predef, Program Options,
  Python, Rational, System, Stacktrace, Test, TypeIndex and Uuid.
  For complete list of changes, see
  https://www.boost.org/users/history/version_1_68_0.html
- refreshed patches: boost-no_type_punning.patch,
  python_library_name.patch
- dropped: python_numpy_retfunc.patch - no longer needed

OBS-URL: https://build.opensuse.org/request/show/629938
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=218
2018-08-17 13:44:12 +00:00

48 lines
1.8 KiB
Diff

Python module needs to be built without these extra renames.
MPI module needs to reference correct python
~Index: boost_1_64_0/libs/mpi/build/Jamfile.v2
~===================================================================
~--- boost_1_64_0.orig/libs/mpi/build/Jamfile.v2
~+++ boost_1_64_0/libs/mpi/build/Jamfile.v2
~@@ -61,10 +61,10 @@ libraries += boost_mpi ;
~ lib boost_mpi_python
~ : # Sources
~ python/serialize.cpp
~+ /user-config//boost_python_alias
~ : # Requirements
~ <library>boost_mpi
~ <library>/mpi//mpi [ mpi.extra-requirements ]
~- <library>/boost/python//boost_python
~ <link>shared:<define>BOOST_MPI_DYN_LINK=1
~ <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
~ <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
~@@ -92,8 +92,8 @@ libraries += boost_mpi ;
~ python/skeleton_and_content.cpp
~ python/status.cpp
~ python/py_timer.cpp
~+ /user-config//boost_python_alias
~ : # Requirements
~- <library>/boost/python//boost_python
~ <library>boost_mpi_python
~ <library>boost_mpi
~ <library>/mpi//mpi [ mpi.extra-requirements ]
Index: boost_1_68_0/libs/python/Jamfile
===================================================================
--- boost_1_68_0.orig/libs/python/Jamfile
+++ boost_1_68_0/libs/python/Jamfile
@@ -36,9 +36,10 @@ local rule split-version ( version )
# For example, Boost.Python built for Python 2.7 uses the suffix "27"
rule version-suffix ( version )
{
- local major-minor = [ split-version $(version) ] ;
- local suffix = $(major-minor:J="") ;
- return $(suffix) ;
+ # local major-minor = [ split-version $(version) ] ;
+ # local suffix = $(major-minor:J="") ;
+ # return $(suffix) ;
+ return "" ;
}