99 |
if [[ ${ARCH} = x86_64 ]] |
if [[ ${ARCH} = x86_64 ]] |
100 |
then |
then |
101 |
# move config header |
# move config header |
102 |
mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig{,${abi}}.h |
mv -v ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h \ |
103 |
|
${BINDIR}/usr/include/python${PVER%.*}/pyconfig-${abi}.h || die |
104 |
|
|
105 |
# install a stub header |
# install a stub header |
106 |
cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF" |
cat > ${BINDIR}/usr/include/python${PVER%.*}/pyconfig.h << "EOF" |
121 |
#endif /* __STUB__PYCONFIG_H__ */ |
#endif /* __STUB__PYCONFIG_H__ */ |
122 |
EOF |
EOF |
123 |
# install the multiarch-wrapper |
# install the multiarch-wrapper |
124 |
mv -v ${BINDIR}/usr/bin/python${PYVER%.*}{,-${abi}} |
mv -v ${BINDIR}/usr/bin/python${PYVER%.*} \ |
125 |
mlink multiarch-wrapper /usr/bin/python${PYVER%.*} |
${BINDIR}/usr/bin/python${PYVER%.*}-${abi} || die |
126 |
|
mlink multiarch-wrapper /usr/bin/python${PYVER%.*} || die |
127 |
fi |
fi |
128 |
done |
done |
129 |
|
|