209 | | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ |
210 | | file mkdir ${mypysitedir} |
211 | | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
212 | | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
| 206 | set mypylibdir ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 |
| 207 | set mypysitedir ${mypylibdir}/site-packages/ |
| 208 | file mkdir ${destroot}${mypysitedir} |
| 209 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } |
| 210 | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir} |
| 211 | reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex |
| 212 | reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex |
| 213 | ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ |
224 | | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ |
225 | | file mkdir ${mypysitedir} |
226 | | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
227 | | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
| 225 | set mypylibdir ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 |
| 226 | set mypysitedir ${mypylibdir}/site-packages/ |
| 227 | file mkdir ${destroot}${mypysitedir} |
| 228 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } |
| 229 | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir} |
| 230 | reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex |
| 231 | reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex |
| 232 | ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ |
237 | | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/ |
238 | | file mkdir ${mypysitedir} |
239 | | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
240 | | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
| 242 | set mypylibdir ${prefix}/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1 |
| 243 | set mypysitedir ${mypylibdir}/site-packages/ |
| 244 | file mkdir ${destroot}${mypysitedir} |
| 245 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } |
| 246 | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir} |
| 247 | reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex |
| 248 | reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex |
| 249 | ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ |
252 | | set mypysitedir ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/ |
253 | | file mkdir ${mypysitedir} |
254 | | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${mypysitedir} } |
255 | | move ${destroot}${prefix}/lib/root/python/genreflex ${mypysitedir} |
| 261 | set mypylibdir ${prefix}/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2 |
| 262 | set mypysitedir ${mypylibdir}/site-packages/ |
| 263 | file mkdir ${destroot}${mypysitedir} |
| 264 | foreach pyfile [glob ${destroot}${prefix}/lib/root/*.py*] { move $pyfile ${destroot}${mypysitedir} } |
| 265 | move ${destroot}${prefix}/lib/root/python/genreflex ${destroot}${mypysitedir} |
| 266 | reinplace "s|/opt/local/lib/root|${mypysitedir}|g" ${destroot}${prefix}/bin/genreflex |
| 267 | reinplace "s|python/genreflex/genreflex.py|genreflex/genreflex.py|g" ${destroot}${prefix}/bin/genreflex |
| 268 | ln -sf ${prefix}/lib/root/libPyROOT.so ${destroot}${mypylibdir}/ |