From 4de582a83e2151392470648c4086eb58bd693fd2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 3 May 2016 00:20:18 +0200 Subject: [PATCH] python3.4: update alternatives now that we have python3.5 --- srcpkgs/python3.4/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3.4/template b/srcpkgs/python3.4/template index 499b1d7070c..0c4b356a313 100644 --- a/srcpkgs/python3.4/template +++ b/srcpkgs/python3.4/template @@ -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 " @@ -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 \