python-termcolor: add python3.4 subpkg
This commit is contained in:
parent
6043b75fd5
commit
fbe2361b75
2 changed files with 27 additions and 9 deletions
|
@ -1,17 +1,34 @@
|
||||||
# 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=1
|
revision=2
|
||||||
|
noarch=yes
|
||||||
wrksrc="termcolor-${version}"
|
wrksrc="termcolor-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-distribute"
|
python_versions="2.7 3.4"
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
noarch="yes"
|
makedepends="${hostmakedepends}"
|
||||||
pycompile_module="termcolor"
|
depends="python"
|
||||||
depends="python>=2.7"
|
pycompile_module="termcolor.py"
|
||||||
short_desc="Python ANSII Color formatting for output in terminal"
|
short_desc="Python2 ANSII Color formatting for output in terminal"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://pypi.python.org/pypi/termcolor"
|
homepage="https://pypi.python.org/pypi/termcolor"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="http://pypi.python.org/packages/source/t/termcolor/termcolor-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/t/termcolor/termcolor-${version}.tar.gz"
|
||||||
checksum=1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
|
checksum=1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-termcolor_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="termcolor.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense ${wrksrc}/COPYING.txt LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-termcolor
Symbolic link
1
srcpkgs/python3.4-termcolor
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-termcolor
|
Loading…
Reference in a new issue