Ticket #6286: pythonid.patch
File pythonid.patch, 1.8 KB (added by , 11 years ago) |
---|
-
boost1.48-1.48.0
Description: Fix jam option --python-buildid Author: Steve Robbins <smr@debian.org> Forwarded: http://lists.boost.org/boost-build/2011/11/25446.php
old new 99 99 BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" "_" ] ; 100 100 } 101 101 102 # Python build id (only for Python libraries)103 python-id = [ option.get "python-buildid" ] ;104 if $(python-id)105 {106 PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;107 }108 109 102 ############################################################################## 110 103 # 111 104 # 1. The 'tag' function that adds decoration suitable to the properties if -
libs/mpi/build/Jamfile.v2
old new 8 8 # Authors: Douglas Gregor 9 9 # Andrew Lumsdaine 10 10 11 import option ; 12 import regex ; 11 13 import mpi ; 12 14 import indirect ; 13 15 import python ; … … 24 26 <tag>@$(__name__).tag 25 27 ; 26 28 29 # Python build id (only for Python libraries) 30 python-id = [ option.get "python-buildid" ] ; 31 if $(python-id) 32 { 33 PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ; 34 } 35 27 36 rule tag ( name : type ? : property-set ) 28 37 { 29 38 local result = $(name) ; -
libs/python/build/Jamfile.v2
old new 2 2 # Software License, Version 1.0. (See accompanying 3 3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 4 5 import option ; 6 import regex ; 5 7 import os ; 6 8 import indirect ; 7 9 import modules ; … … 30 32 ; 31 33 } 32 34 35 # Python build id (only for Python libraries) 36 python-id = [ option.get "python-buildid" ] ; 37 if $(python-id) 38 { 39 PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ; 40 } 41 42 33 43 rule find-py3-version 34 44 { 35 45 local versions = [ feature.values python ] ;