python3.4: update alternatives now that we have python3.5

This commit is contained in:
Alessio Sergi 2016-05-03 00:20:18 +02:00
parent 1cda7aecf4
commit 4de582a83e
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python3.4'
pkgname=python3.4
version=3.4.4
revision=5
revision=6
wrksrc="Python-${version}"
short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -25,9 +25,12 @@ alternatives="
python:python:/usr/bin/python3.4
python:python.1:/usr/share/man/man1/python3.4.1
python3:idle3:/usr/bin/idle3.4
python3:2to3:/usr/bin/2to3-3.4
python3:pydoc3:/usr/bin/pydoc3.4
python3:python3:/usr/bin/python3.4
python3:pyvenv3:/usr/bin/pyvenv-3.4
python3:python3-config:/usr/bin/python3.4-config
python3:libpython3.so:/usr/lib/libpython3.4m.so
python3:python3.pc:/usr/lib/pkgconfig/python-3.4.pc
python3:python3.1:/usr/share/man/man1/python3.4.1"
@ -68,9 +71,11 @@ do_install() {
vlicense LICENSE
rm -f ${DESTDIR}/usr/bin/2to3
rm -f ${DESTDIR}/usr/bin/pyvenv
rm -f ${DESTDIR}/usr/bin/{idle,pydoc,python}3
rm -f ${DESTDIR}/usr/share/man/man1/python3.1
rm -f ${DESTDIR}/usr/bin/python3-config
rm -f ${DESTDIR}/usr/lib/libpython3.so
rm -f ${DESTDIR}/usr/lib/pkgconfig/python3.pc
ln -sf ../../libpython${version%.*}m.so \