Info2: << Package: boost1.35.%type_pkg[python] Version: 1.35.0 Revision: 14 Type: python (nopython systempython python2.7) Distribution: 10.7, 10.8 License: BSD Depends: %N-shlibs (= %v-%r) BuildDepends: boost-jam, (%type_num[python]) %type_pkg[python], fink (>= 0.27.2) BuildDependsOnly: True #BuildConflicts: (%type_pkg[python] != nopython) python ### Conflicts gets ALL variants for OTHER boost versions ### For same boost version, conditional all on " !nopython " BUT omit the nopython variant. Conflicts: << boost1.31, boost1.32-py23, boost1.32-py24, boost1.32.python, boost1.33, boost-foreach, boost1.34.systempython, boost1.34.python23, boost1.34.python24, boost1.34.python25, (%type_pkg[python] != nopython) boost1.35.systempython, (%type_pkg[python] != nopython) boost1.35.python23, (%type_pkg[python] != nopython) boost1.35.python24, (%type_pkg[python] != nopython) boost1.35.python25, (%type_pkg[python] != nopython) boost1.35.python26, (%type_pkg[python] != nopython) boost1.35.python27, boost1.41.cmake, boost1.46.1.cmake, boost1.52.0.cmake, boost1.53.systempython, boost1.53.python25, boost1.53.python26, boost1.53.python27, boost1.53.python31, boost1.53.python32, boost1.53.python33, boost1.53.nopython, boost1.55-systempython, boost1.55-python27, boost1.55-python32, boost1.55-python33, boost1.55-nopython << ### Always include ALL boost variants in Replaces Replaces: << boost1.31, boost1.32-py23, boost1.32-py24, boost1.32.python, boost1.33, boost-foreach, boost1.34.systempython, boost1.34.python23, boost1.34.python24, boost1.34.python25, boost1.34.nopython, boost1.35.systempython, boost1.35.python23, boost1.35.python24, boost1.35.python25, boost1.35.python26, boost1.35.python27, boost1.35.nopython, boost1.41.cmake, boost1.46.1.cmake, boost1.52.0.cmake, boost1.53.systempython, boost1.53.python25, boost1.53.python26, boost1.53.python27, boost1.53.python31, boost1.53.python32, boost1.53.python33, boost1.53.nopython, boost1.55-systempython, boost1.55-python27, boost1.55-python32, boost1.55-python33, boost1.55-nopython << Source: mirror:sourceforge:boost/boost_1_35_0.tar.bz2 SourceDirectory: boost_1_35_0 Source-MD5: dce952a7214e72d6597516bcac84048b PatchFile: %{ni}patch PatchFile-MD5: bc065bb0617e5ef7f1abbe9480798c72 PatchScript:<< #!/bin/sh -ex # save a file that should only be patched for python2.6.3 or later case %type_pkg[python] in python23|python24|python25|systempython) cp libs/python/src/object/class.cpp libs/python/src/object/class.cpp_bak;; *) ;; esac # the patch file now contains a workaround from boost svn for a new "feature" in python-2.6.3 and later # keyword: "AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only" patch -p1 < %{PatchFile} case %type_pkg[python] in python23|python24|python25|systempython) cp libs/python/src/object/class.cpp_bak libs/python/src/object/class.cpp;; *) ;; esac # don't link to libpython, we will use -undefined dynamic_lookup perl -pi -e 's|windows cygwin darwin|windows cygwin|' tools/build/v2/tools/python.jam # don't build debug target nor runtime-link-static, otherwise complete perl -pi -e 's|debug release|release|;s|\shared \static|\shared|' Jamroot # remove some old cruft from the compiler flag collection /usr/bin/sed -i '.bak' -e '/isysroot/d' -e '/Wno-long-double/d' tools/build/v2/tools/darwin.jam << CompileScript: << #!/bin/sh -ex USEPYTHON='--with-python' UNDEFINED='--undefined=-Wl,-flat_namespace,-undefined,dynamic_lookup' case %type_pkg[python] in nopython) UNDEFINED='' USEPYTHON='--without-python' ;; python*) echo "using python : : %p/bin/%type_raw[python] ; " >> tools/build/v2/user-config.jam LIBDIR='--libdir=%p/lib/%type_raw[python]/site-packages' ;; *) ;; esac bjam --toolset=darwin $USEPYTHON --prefix=%p $LIBDIR $UNDEFINED --compatibility_version=1.35.0 --current_version=1.35.0 --build-type=complete << InstallScript: << #!/bin/sh -ex [ '%type_pkg[python]' == 'nopython' ] && USEPYTHON='--without-python' || USEPYTHON='--with-python' bjam --toolset=darwin $USEPYTHON --prefix=%i --build-type=complete install ln -s boost-1_35/boost %i/include/boost if [ '%type_pkg[python]' == 'nopython' ]; then LIBS="date_time filesystem graph iostreams program_options \ regex serialization wserialization signals system \ prg_exec_monitor unit_test_framework \ thread wave"; else LIBS="python" fi for LIB in $LIBS; do if [ $LIB == "thread" ]; then ln -s libboost_${LIB}-mt.dylib %i/lib/libboost_${LIB}.dylib else ln -s libboost_${LIB}-1_35.dylib %i/lib/libboost_${LIB}.dylib # ln -s libboost_${LIB}-d-1_35.dylib %i/lib/libboost_${LIB}-d.dylib fi ln -s libboost_${LIB}-mt-1_35.dylib %i/lib/libboost_${LIB}-mt.dylib # ln -s libboost_${LIB}-mt-d-1_35.dylib %i/lib/libboost_${LIB}-mt-d.dylib done if [ -n '%type_num[python]' ]; then mkdir -p %i/lib/%type_raw[python]/site-packages mv %i/lib/libboost*1_35.dylib %i/lib/%type_raw[python]/site-packages ln -sf %type_raw[python]/site-packages/libboost_python-1_35.dylib %i/lib/libboost_python.dylib ln -sf %type_raw[python]/site-packages/libboost_python-mt-1_35.dylib %i/lib/libboost_python-mt.dylib fi # install the examples, docs, tools, etc by hand mkdir -p %i/lib/boost-1_35 /bin/cp -pR boost-build.jam boost.css boost.png doc index.html libs more rst.css status tools %i/lib/boost-1_35/ mkdir -p %i/share/doc/%N sed -e 's|URL=index.html|URL=%p/lib/boost-1_35/index.html|' index.htm > %i/share/doc/%N/index.html << Splitoff: << Package: %N-shlibs Depends: ( %type_num[python] ) %type_pkg[python]-shlibs Files: << ( %type_raw[python] = systempython ) lib/libboost_python-1_35.dylib ( %type_raw[python] = systempython ) lib/libboost_python-mt-1_35.dylib ( %type_num[python] ) lib/%type_raw[python]/site-packages/libboost_python-1_35.dylib ( %type_num[python] ) lib/%type_raw[python]/site-packages/libboost_python-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_date_time-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_filesystem-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_graph-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_iostreams-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_program_options-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_regex-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_serialization-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_wserialization-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_signals-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_system-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_prg_exec_monitor-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_unit_test_framework-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_wave-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_date_time-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_filesystem-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_graph-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_iostreams-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_program_options-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_regex-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_serialization-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_wserialization-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_signals-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_system-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_prg_exec_monitor-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_unit_test_framework-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_thread-mt-1_35.dylib ( %type_raw[python] = nopython ) lib/libboost_wave-mt-1_35.dylib << Shlibs: << ( %type_raw[python] = systempython ) %p/lib/libboost_python-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = systempython ) %p/lib/libboost_python-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_num[python] ) %p/lib/%type_raw[python]/site-packages/libboost_python-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_num[python] ) %p/lib/%type_raw[python]/site-packages/libboost_python-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_date_time-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_filesystem-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_graph-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_iostreams-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_program_options-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_regex-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_serialization-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_wserialization-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_signals-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_system-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_prg_exec_monitor-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_unit_test_framework-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_wave-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_date_time-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_filesystem-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_graph-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_iostreams-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_program_options-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_regex-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_serialization-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_wserialization-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_signals-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_system-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_prg_exec_monitor-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_unit_test_framework-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_thread-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) ( %type_raw[python] = nopython ) %p/lib/libboost_wave-mt-1_35.dylib 1.35.0 %n (>= 1.35.0-1) << DocFiles: LICENSE_1_0.txt Description: Boost C++ Libraries (shared libs) DescUsage: << The libboost.python libraries are separated out into their own packages, with different package names according to the python version with which they are compatible. The nopython variant contains all others except the python libraries, so of you want a complete set of boost libraries, install the nopython variant and one of the python variants. The systempython variant uses the system Python framework and installs the libboost.python dylib into %p/lib. The pythonXY variants use Fink's python packages and install the libboost.python dylib into %/lib/pythonX.Y/site-packages. The static libraries and the compile-time dylib symlinks are installed into %p/lib in all cases. Thus for linking, the link flag -L%p/lib is sufficient in all cases. This version does not build the debug versions of the libraries. If you want these, please contact the maintainer and vote for them. << << DocFiles: LICENSE_1_0.txt index.html people wiki Description: Boost C++ Libraries: static and source libs DescDetail: << The Boost web site provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries which work well with the C++ Standard Library. The libraries are intended to be widely useful, and are in regular use by thousands of programmers across a broad spectrum of applications. A further goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization. Ten Boost libraries will be included in the C++ Standards Committee's upcoming C++ Standard Library Technical Report as a step toward becoming part of a future C++ Standard. Although Boost was begun by members of the C++ Standards Committee Library Working Group, participation has expanded to include thousands of programmers from the C++ community at large. << DescUsage: << The libboost.python libraries are separated out into their own packages, with different package names according to the python version with which they are compatible. The nopython variant contains all others except the python libraries, so if you want a complete set of boost libraries, install the nopython variant and one of the python variants. The systempython variant uses the system Python framework and installs the libboost.python dylib into %p/lib. The pythonXY variants use Fink's python packages and install the libboost.python dylib into %/lib/pythonX.Y/site-packages. The static libraries and the compile-time dylib symlinks are installed into %p/lib in all cases. Thus for linking, the link flag -L%p/lib is sufficient in all cases. This version does not build the debug versions of the libraries. If you want these, please contact the maintainer and vote for them. This version installs the docs, tools, examples, etc into %p/lib/boost-1_35/. << DescPort: << Patch to darwin.jam teaches build-jam v2 to use -install_name and -compatibility_version for the dylibs and also -flat_namespace -undefined dynamic_lookup that is needed for the python cylibs. These are transmitted on the bjam command line by the options --compatibility_version, --current_version and --undefined Does not build under gcc-4.2, so we force g++-4.0, at least when /usr/bin/gcc-4.0 exists (not on OSX 10.7). Also remove -isysroot, because not all libraries in the SDKs are 64bit. << DescPackaging: << Earlier versions by Mark Treiber. libboost.python now in separate packages again. All the -shlibs splitoffs are compatible with each other; the other packages are builddependsonly, and the nopython variant is compatible with any one of the 4 python variants; these conflict with each other. No debug versions, makes package 10 times smaller and twice faster to build. Weird double-dotted file name needed to please fink validator. << Maintainer: Martin Costabel Homepage: http://www.boost.org <<