@@ -30,7 +30,7 @@ rule py-run ( sources * : input-file ? )
3030 : $(input-file)
3131 : #requirements
3232 <define>BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION
33-
33+
3434 ] ;
3535}
3636
@@ -54,6 +54,18 @@ rule require-windows ( properties * )
5454
5555if [ python.configured ]
5656{
57+ alias base_deps : usage-requirements
58+ <library>/boost/align//boost_align
59+ <library>/boost/assert//boost_assert
60+ <library>/boost/config//boost_config
61+ <library>/boost/core//boost_core
62+ <library>/boost/detail//boost_detail
63+ <library>/boost/function//boost_function
64+ <library>/boost/mpl//boost_mpl
65+ <library>/boost/preprocessor//boost_preprocessor
66+ <library>/boost/static_assert//boost_static_assert
67+ <library>/boost/type_traits//boost_type_traits
68+ ;
5769test-suite python
5870 :
5971
@@ -99,8 +111,8 @@ bpl-test crossmod_exception
99111[ bpl-test andreas_beyer ]
100112[ bpl-test wrapper_held_type ]
101113
102- [ bpl-test polymorphism2_auto_ptr
103- : polymorphism2_auto_ptr.py polymorphism2.py polymorphism2_auto_ptr.cpp
114+ [ bpl-test polymorphism2_auto_ptr
115+ : polymorphism2_auto_ptr.py polymorphism2.py polymorphism2_auto_ptr.cpp
104116 : [ requires auto_ptr ]
105117]
106118
@@ -121,7 +133,7 @@ bpl-test crossmod_exception
121133[ bpl-test try : newtest.py m1.cpp m2.cpp ]
122134[ bpl-test const_argument ]
123135[ bpl-test keywords : keywords.cpp keywords_test.py ]
124-
136+
125137
126138[ python-extension builtin_converters_ext : builtin_converters.cpp /boost/python//boost_python ]
127139[ bpl-test builtin_converters : test_builtin_converters.py builtin_converters_ext ]
@@ -194,13 +206,13 @@ bpl-test crossmod_opaque
194206 # Whenever the cause for the failure of the polymorphism test is found
195207 # and fixed, this should be retested.
196208 <toolset>hp_cxx:<build>no ]
197-
209+
198210[ python-extension map_indexing_suite_ext
199211 : map_indexing_suite.cpp int_map_indexing_suite.cpp a_map_indexing_suite.cpp
200212 /boost/python//boost_python ]
201- [ bpl-test
213+ [ bpl-test
202214 map_indexing_suite : map_indexing_suite.py map_indexing_suite_ext ]
203-
215+
204216[ run import_.cpp /boost/python//boost_python $(PY) : : import_.py ]
205217
206218# if $(TEST_BIENSTMAN_NON_BUGS)
@@ -214,28 +226,29 @@ bpl-test crossmod_opaque
214226
215227# --- unit tests of library components ---
216228
217- [ compile indirect_traits_test.cpp ]
218- [ run destroy_test.cpp ]
229+ [ compile indirect_traits_test.cpp : <use>base_deps ]
230+ [ run destroy_test.cpp : : : <use>base_deps ]
219231[ py-run pointer_type_id_test.cpp ]
220232[ py-run bases.cpp ]
221- [ run if_else.cpp ]
233+ [ run if_else.cpp : : : <use>base_deps ]
222234[ py-run pointee.cpp ]
223- [ run result.cpp ]
235+ [ run result.cpp : : : <use>base_deps ]
224236
225- [ compile string_literal.cpp ]
237+ [ compile string_literal.cpp : <use>base_deps ]
226238[ py-compile borrowed.cpp ]
227239[ py-compile object_manager.cpp ]
228240[ py-compile copy_ctor_mutates_rhs.cpp ]
229241
230242[ py-run upcast.cpp ]
231-
243+
232244[ py-compile select_holder.cpp ]
233-
234- [ run select_from_python_test.cpp ../src/converter/type_id.cpp
235- :
245+
246+ [ run select_from_python_test.cpp ../src/converter/type_id.cpp
247+ :
236248 :
237249 : <define>BOOST_PYTHON_STATIC_LIB
238250 <use>$(PY)
251+ <use>base_deps
239252
240253]
241254
0 commit comments