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'
|
||||
pkgname=python-termcolor
|
||||
version=1.1.0
|
||||
revision=3
|
||||
revision=4
|
||||
noarch=yes
|
||||
wrksrc="termcolor-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
makedepends="${hostmakedepends}"
|
||||
depends="python"
|
||||
pycompile_module="termcolor.py"
|
||||
|
@ -21,14 +20,20 @@ post_install() {
|
|||
vlicense COPYING.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-termcolor_package() {
|
||||
python3-termcolor_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
depends="python3"
|
||||
pycompile_module="termcolor.py"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-termcolor>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense ${wrksrc}/COPYING.txt LICENSE
|
||||
vmove usr/lib/python3*
|
||||
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}"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-termcolor
|
Loading…
Reference in New Issue