python-termcolor: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
ebf4eb7908
commit
02e9b483a8
@ -1,12 +1,11 @@
|
|||||||
# Template file for 'python-termcolor'
|
# Template file for 'python-termcolor'
|
||||||
pkgname=python-termcolor
|
pkgname=python-termcolor
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="termcolor-${version}"
|
wrksrc="termcolor-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="termcolor.py"
|
pycompile_module="termcolor.py"
|
||||||
@ -21,14 +20,20 @@ post_install() {
|
|||||||
vlicense COPYING.txt LICENSE
|
vlicense COPYING.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-termcolor_package() {
|
python3-termcolor_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="termcolor.py"
|
pycompile_module="termcolor.py"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-termcolor>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense ${wrksrc}/COPYING.txt LICENSE
|
vlicense COPYING.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-termcolor_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-termcolor>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
1
srcpkgs/python3-termcolor
Symbolic link
1
srcpkgs/python3-termcolor
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-termcolor
|
Loading…
x
Reference in New Issue
Block a user