python3: replaces python3.4 and python3.5

This commit is contained in:
Alessio Sergi 2016-10-19 19:19:49 +02:00
parent 8697bb53cd
commit 2bc7f35607
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python3'
pkgname=python3
version=3.5.2
revision=1
revision=2
wrksrc="Python-${version}"
short_desc="Interpreted, interactive, object-oriented programming language (${version%.*} series)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -10,7 +10,7 @@ license="PSF"
distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"
checksum=0010f56100b9b74259ebcd5d4b295a32324b58b517403a10d1a2aa7cb22bca40
#replaces="python3.4>=0"
replaces="python3.4>=0 python3.5>=0"
pycompile_dirs="usr/lib/python3.5"
makedepends="libffi-devel readline-devel gdbm-devel libressl-devel expat-devel
sqlite-devel bzip2-devel zlib-devel liblzma-devel tcl-devel tk-devel libX11-devel"
@ -98,7 +98,7 @@ do_install() {
}
python3-devel_package() {
#replaces="python3.4-devel>=0"
replaces="python3.4-devel>=0 python3.5-devel>=0"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
@ -112,7 +112,7 @@ python3-devel_package() {
}
}
python3-tkinter_package() {
#replaces="python3.4-tkinter>=0"
replaces="python3.4-tkinter>=0 python3.5-tkinter>=0"
pycompile_dirs="usr/lib/python3.5"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - GUI toolkit for Python3"
@ -124,7 +124,7 @@ python3-tkinter_package() {
}
}
idle-python3_package() {
#replaces="idle-python3.4>=0"
replaces="idle-python3.4>=0 idle-python3.5>=0"
pycompile_dirs="usr/lib/python3.5/idlelib"
depends="${sourcepkg}-${version}_${revision} python3-tkinter"
short_desc+=" - IDE for Python3 using Tkinter"