hopefully fix of python3 conflict with python2, will clean up pkgbuild, if this is fixed

This commit is contained in:
abveritas 2011-04-20 17:28:36 +00:00
parent 1c16bfe175
commit ffa86455e6

View File

@ -1,6 +1,6 @@
pkgname=python3
pkgver=3.2
pkgrel=1
pkgrel=2
_pybasever=3.2
pkgdesc="Next generation of the python high-level scripting language"
arch=('i686' 'x86_64')
@ -54,12 +54,19 @@ package() {
cd "${srcdir}/Python-${pkgver}"
make DESTDIR="${pkgdir}" install maninstall
# Fix conflicts with python2
rm ${pkgdir}/usr/bin/2to3
#rm ${pkgdir}/usr/bin/python
#rm ${pkgdir}/usr/bin/python-config
#rm ${pkgdir}/usr/bin/idle
#rm ${pkgdir}/usr/bin/pydoc
# Why are these not done by default...
ln -sf python3 "${pkgdir}/usr/bin/python"
ln -sf python3-config "${pkgdir}/usr/bin/python-config"
ln -sf idle3 "${pkgdir}/usr/bin/idle"
ln -sf pydoc3 "${pkgdir}/usr/bin/pydoc"
ln -sf python${_pybasever}.1 "${pkgdir}/usr/share/man/man1/python3.1"
#ln -sf python3 "${pkgdir}/usr/bin/python"
#ln -sf python3-config "${pkgdir}/usr/bin/python-config"
#ln -sf idle3 "${pkgdir}/usr/bin/idle"
#ln -sf pydoc3 "${pkgdir}/usr/bin/pydoc"
#ln -sf python${_pybasever}.1 "${pkgdir}/usr/share/man/man1/python3.1"
# Fix FS#22552
ln -sf ../../libpython${_pybasever}mu.so \