Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/
Date: Tue, 23 Apr 2019 08:58:40
Message-Id: 1556009907.d5102957a0d785d75302acd08aaf1570dc959179.soap@gentoo
1 commit: d5102957a0d785d75302acd08aaf1570dc959179
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Apr 22 07:52:11 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 23 08:58:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5102957
7
8 dev-libs/boost: remove unused patch
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/11778
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 dev-libs/boost/files/boost-1.67.0-fix-python.patch | 153 ---------------------
15 1 file changed, 153 deletions(-)
16
17 diff --git a/dev-libs/boost/files/boost-1.67.0-fix-python.patch b/dev-libs/boost/files/boost-1.67.0-fix-python.patch
18 deleted file mode 100644
19 index 6f51152d12e..00000000000
20 --- a/dev-libs/boost/files/boost-1.67.0-fix-python.patch
21 +++ /dev/null
22 @@ -1,153 +0,0 @@
23 -Python module needs to be built without these extra renames.
24 -MPI module needs to reference correct python
25 -
26 -~Index: boost_1_64_0/libs/mpi/build/Jamfile.v2
27 -~===================================================================
28 -~--- boost_1_64_0.orig/libs/mpi/build/Jamfile.v2
29 -~+++ boost_1_64_0/libs/mpi/build/Jamfile.v2
30 -~@@ -61,10 +61,10 @@ libraries += boost_mpi ;
31 -~ lib boost_mpi_python
32 -~ : # Sources
33 -~ python/serialize.cpp
34 -~+ /user-config//boost_python_alias
35 -~ : # Requirements
36 -~ <library>boost_mpi
37 -~ <library>/mpi//mpi [ mpi.extra-requirements ]
38 -~- <library>/boost/python//boost_python
39 -~ <link>shared:<define>BOOST_MPI_DYN_LINK=1
40 -~ <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
41 -~ <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
42 -~@@ -92,8 +92,8 @@ libraries += boost_mpi ;
43 -~ python/skeleton_and_content.cpp
44 -~ python/status.cpp
45 -~ python/py_timer.cpp
46 -~+ /user-config//boost_python_alias
47 -~ : # Requirements
48 -~- <library>/boost/python//boost_python
49 -~ <library>boost_mpi_python
50 -~ <library>boost_mpi
51 -~ <library>/mpi//mpi [ mpi.extra-requirements ]
52 -Index: boost_1_67_0/libs/mpi/build/Jamfile.v2
53 -===================================================================
54 ---- boost_1_67_0.orig/libs/mpi/build/Jamfile.v2
55 -+++ boost_1_67_0/libs/mpi/build/Jamfile.v2
56 -@@ -60,33 +60,13 @@ libraries += boost_mpi ;
57 -
58 - if [ python.configured ]
59 - {
60 -- py2-version = [ py-version 2 ] ;
61 -- py3-version = [ py-version 3 ] ;
62 --
63 -- # These library names are synchronized with those defined by Boost.Python, see libs/python/build/Jamfile.
64 -- lib_boost_python(2) = boost_python ;
65 -- lib_boost_python(3) = boost_python3 ;
66 --
67 -- lib_boost_python($(py2-version)) = $(lib_boost_python(2)) ;
68 -- lib_boost_python($(py3-version)) = $(lib_boost_python(3)) ;
69 --
70 -- lib_boost_mpi_python(2) = boost_mpi_python ;
71 -- lib_boost_mpi_python(3) = boost_mpi_python3 ;
72 --
73 -- lib_boost_mpi_python($(py2-version)) = $(lib_boost_mpi_python(2)) ;
74 -- lib_boost_mpi_python($(py3-version)) = $(lib_boost_mpi_python(3)) ;
75 --
76 -- for local N in 2 3
77 -- {
78 -- if $(py$(N)-version)
79 -- {
80 -- lib $(lib_boost_mpi_python($(py$(N)-version)))
81 -+ lib boost_mpi_python
82 - : # Sources
83 - python/serialize.cpp
84 - : # Requirements
85 - <library>boost_mpi
86 - <library>/mpi//mpi [ mpi.extra-requirements ]
87 -- <library>/boost/python//$(lib_boost_python($(py$(N)-version)))
88 -+ <library>/boost/python//boost_python
89 - <link>shared:<define>BOOST_MPI_DYN_LINK=1
90 - <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1
91 - <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
92 -@@ -94,12 +74,12 @@ libraries += boost_mpi ;
93 - -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
94 - <tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).python-tag
95 - <python-debugging>on:<define>BOOST_DEBUG_PYTHON
96 -- <python>$(py$(N)-version)
97 - : # Default build
98 - <link>shared
99 - : # Usage requirements
100 - <library>/mpi//mpi [ mpi.extra-requirements ]
101 - ;
102 -+ libraries += boost_mpi_python ;
103 -
104 - python-extension mpi
105 - : # Sources
106 -@@ -116,8 +96,8 @@ libraries += boost_mpi ;
107 - python/status.cpp
108 - python/py_timer.cpp
109 - : # Requirements
110 -- <library>/boost/python//$(lib_boost_python($(py$(N)-version)))
111 -- <library>$(lib_boost_mpi_python($(py$(N)-version)))
112 -+ <library>/boost/python//boost_python
113 -+ <library>boost_mpi_python
114 - <library>boost_mpi
115 - <library>/mpi//mpi [ mpi.extra-requirements ]
116 - <link>shared:<define>BOOST_MPI_DYN_LINK=1
117 -@@ -125,16 +105,7 @@ libraries += boost_mpi ;
118 - <link>shared:<define>BOOST_PYTHON_DYN_LINK=1
119 - <link>shared <runtime-link>shared
120 - <python-debugging>on:<define>BOOST_DEBUG_PYTHON
121 -- <python>$(py$(N)-version)
122 - ;
123 --
124 -- libraries += $(lib_boost_mpi_python($(py$(N)-version))) ;
125 -- }
126 -- else
127 -- {
128 -- alias $(lib_boost_mpi_python($(N))) ;
129 -- }
130 -- }
131 - }
132 - }
133 - else if ! ( --without-mpi in [ modules.peek : ARGV ] )
134 -Index: boost_1_67_0/libs/python/Jamfile
135 -===================================================================
136 ---- boost_1_67_0.orig/libs/python/Jamfile
137 -+++ boost_1_67_0/libs/python/Jamfile
138 -@@ -36,9 +36,10 @@ local rule split-version ( version )
139 - # For example, Boost.Python built for Python 2.7 uses the suffix "27"
140 - rule version-suffix ( version )
141 - {
142 -- local major-minor = [ split-version $(version) ] ;
143 -- local suffix = $(major-minor:J="") ;
144 -- return $(suffix) ;
145 -+ # local major-minor = [ split-version $(version) ] ;
146 -+ # local suffix = $(major-minor:J="") ;
147 -+ # return $(suffix) ;
148 -+ return "" ;
149 - }
150 -
151 -
152 -diff -ur boost_1_67_0.orig/boostcpp.jam boost_1_67_0/boostcpp.jam
153 ---- boost_1_67_0.orig/boostcpp.jam 2018-07-30 16:26:03.346187542 -0700
154 -+++ boost_1_67_0/boostcpp.jam 2018-07-30 16:26:18.839081472 -0700
155 -@@ -105,7 +105,7 @@
156 - python-id = [ option.get "python-buildid" ] ;
157 - if $(python-id)
158 - {
159 -- PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" _ ] ;
160 -+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" _ ] ;
161 - }
162 -
163 -
164 -diff -ur boost_1_67_0.orig/libs/python/Jamfile boost_1_67_0/libs/python/Jamfile
165 ---- boost_1_67_0.orig/libs/python/Jamfile 2018-07-30 14:56:15.591366992 -0700
166 -+++ boost_1_67_0/libs/python/Jamfile 2018-07-30 16:26:31.662993677 -0700
167 -@@ -47,7 +47,7 @@
168 - python-id = [ option.get "python-buildid" ] ;
169 - if $(python-id)
170 - {
171 -- PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" _ ] ;
172 -+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" _ ] ;
173 - }
174 -
175 - rule python-tag ( name : type ? : property-set )