SHA256
8
0
forked from pool/boost

Accepting request 856565 from home:adamm:boost_test

- update to 1.75.0:
  * new library: 
    + Boost.JSON - JSON parsing library
    + Boost.LEAF - error handling library
    + Boost.PFR  - basic reflection without macros or boilderplate code
  * for details on all changes see,
    https://www.boost.org/users/history/version_1_75_0.html
- package boost's jam files so the Boost.Build is more usable
- python_library_name.patch: update it to remove python version
  suffix and keep old sonames. We only support one python3 version
  at a time.
- refreshed patches: boost-no_type_punning.patch
  boost-strict_aliasing.patch python_library_name.patch
- serialization_missing_includes.patch: upstreamed
- baselibs.conf: updated to new version

OBS-URL: https://build.opensuse.org/request/show/856565
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=269
This commit is contained in:
2020-12-16 21:50:50 +00:00
committed by Git OBS Bridge
parent 9bc697023e
commit 1edcfb5aae
9 changed files with 144 additions and 121 deletions

View File

@@ -27,33 +27,32 @@ MPI module needs to reference correct python
~ <library>boost_mpi_python
~ <library>boost_mpi
~ <library>/mpi//mpi [ mpi.extra-requirements ]
Index: boost_1_74_0/libs/python/Jamfile
Index: boost_1_75_0/boostcpp.jam
===================================================================
--- boost_1_74_0.orig/libs/python/Jamfile
+++ boost_1_74_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 "" ;
}
--- boost_1_75_0.orig/boostcpp.jam
+++ boost_1_75_0/boostcpp.jam
@@ -227,15 +227,15 @@ rule python-tag ( name : type ? : proper
{
# Add Python version suffix
- local version = [ $(property-set).get <python> ] ;
-
- local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
- local suffix = $(major-minor:J="") ;
-
- if $(suffix)
- {
- result = $(result)$(suffix) ;
- }
+ # local version = [ $(property-set).get <python> ] ;
+ #
+ # local major-minor = [ MATCH "^([0-9]+)\.([0-9]+)" : $(version) ] ;
+ # local suffix = $(major-minor:J="") ;
+ #
+ # if $(suffix)
+ # {
+ # result = $(result)$(suffix) ;
+ # }
# Add PYTHON_ID if supplied
Index: boost_1_74_0/tools/build/src/tools/python.jam
===================================================================
--- boost_1_74_0.orig/tools/build/src/tools/python.jam
+++ boost_1_74_0/tools/build/src/tools/python.jam
@@ -664,6 +664,7 @@ local rule system-library-dependencies (
# For example, Boost.Python built for Python 2.7 uses the suffix "27"
rule version-suffix ( version )
{
+ return "" ;
local major-minor = [ split-version $(version) ] ;
local suffix = $(major-minor:J="") ;
return $(suffix) ;