boost/python_library_name.patch
Adam Majer eac3bebcf3 Accepting request 660152 from home:adamm:boost_test
- Update to version 1.69.0
  Breaking Changes:
    + Logic: use explicit operator bool when available
    + Boost.Signals removed
  New libraries:
  * SafeNumerics: A library for guaranteed correct integer
    arithmetic for C++14 and later
  Updated libraries:
  Any, Asio, Assign, Beast, CircularBuffer, ConceptCheck, Context,
  Core, Dynamic Bisect, Fiber, Filesystem, Flyweight, Function,
  Geometry, Integer, Iostreams, Iterator, LexicalCast, Log, Math,
  Mp11, MultiArray, Multi-index Containers, Multiprecision,
  PolyCollection, Pool, Preprocessor, Rational, Spirit,
  Stacktrace, System, Test, TypeIndex, Utility, Variant, YAP
  For complete changelog see
  https://www.boost.org/users/history/version_1_69_0.html
- python_library_name.patch: updated to leave Boost.MPI python
  names unchanged.
- dynamic_linking.patch: refreshed
- baselibs.conf: updated to 1.69.0
- cleanup spec file
  * removed no-op conditionals
  * appended -impl to all unversioned named Provides: to facilitate
    introduction of boost-defaults. The defaults package will provide
    upgrade path in Tumbleweed for -devel subpackages.

OBS-URL: https://build.opensuse.org/request/show/660152
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=224
2018-12-25 04:41:28 +00:00

66 lines
2.4 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_69_0/libs/python/Jamfile
===================================================================
--- boost_1_69_0.orig/libs/python/Jamfile
+++ boost_1_69_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 "" ;
}
Index: boost_1_69_0/libs/mpi/build/Jamfile.v2
===================================================================
--- boost_1_69_0.orig/libs/mpi/build/Jamfile.v2
+++ boost_1_69_0/libs/mpi/build/Jamfile.v2
@@ -42,9 +42,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 "" ;
}