python3: remove 'python3' alternatives group
No longer useful since we support one Python 3 version now.
This commit is contained in:
parent
6f53725771
commit
d6a492c017
1 changed files with 3 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3'
|
# Template file for 'python3'
|
||||||
pkgname=python3
|
pkgname=python3
|
||||||
version=3.6.2
|
version=3.6.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Python-${version}"
|
wrksrc="Python-${version}"
|
||||||
short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
|
short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -21,16 +21,7 @@ alternatives="
|
||||||
python:2to3:/usr/bin/2to3-${version%.*}
|
python:2to3:/usr/bin/2to3-${version%.*}
|
||||||
python:pydoc:/usr/bin/pydoc${version%.*}
|
python:pydoc:/usr/bin/pydoc${version%.*}
|
||||||
python:python:/usr/bin/python${version%.*}
|
python:python:/usr/bin/python${version%.*}
|
||||||
python:python.1:/usr/share/man/man1/python${version%.*}.1
|
python:python.1:/usr/share/man/man1/python${version%.*}.1"
|
||||||
python3:idle3:/usr/bin/idle${version%.*}
|
|
||||||
python3:2to3:/usr/bin/2to3-${version%.*}
|
|
||||||
python3:pydoc3:/usr/bin/pydoc${version%.*}
|
|
||||||
python3:python3:/usr/bin/python${version%.*}
|
|
||||||
python3:pyvenv3:/usr/bin/pyvenv-${version%.*}
|
|
||||||
python3:python3-config:/usr/bin/python${version%.*}-config
|
|
||||||
python3:libpython3.so:/usr/lib/libpython${version%.*}m.so
|
|
||||||
python3:python3.pc:/usr/lib/pkgconfig/python-${version%.*}.pc
|
|
||||||
python3:python3.1:/usr/share/man/man1/python${version%.*}.1"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Ensure that internal copies of zlib, expat and libffi are not used
|
# Ensure that internal copies of zlib, expat and libffi are not used
|
||||||
|
@ -67,12 +58,6 @@ do_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/bin/2to3
|
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
|
|
||||||
|
|
||||||
# Remove test module and tests that fail to be byte-compiled.
|
# Remove test module and tests that fail to be byte-compiled.
|
||||||
rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test
|
rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test
|
||||||
|
@ -127,7 +112,7 @@ idle-python3_package() {
|
||||||
depends="${sourcepkg}-${version}_${revision} python3-tkinter"
|
depends="${sourcepkg}-${version}_${revision} python3-tkinter"
|
||||||
short_desc+=" - IDE for Python3 using Tkinter"
|
short_desc+=" - IDE for Python3 using Tkinter"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/idle${version%.*}
|
vmove usr/bin/idle3*
|
||||||
vmove usr/lib/python${version%.*}/idlelib
|
vmove usr/lib/python${version%.*}/idlelib
|
||||||
vinstall ${FILESDIR}/idle3.xpm 644 usr/share/pixmaps
|
vinstall ${FILESDIR}/idle3.xpm 644 usr/share/pixmaps
|
||||||
vinstall ${FILESDIR}/idle3.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/idle3.desktop 644 usr/share/applications
|
||||||
|
|
Loading…
Reference in a new issue