python-traitlets: add missing deps

six and enum34 are required for traitlets>=4.3.0.

Closes #5056.
This commit is contained in:
Alessio Sergi 2016-10-27 11:44:28 +02:00
parent 883a8a14d3
commit 2382e36ced

View file

@ -1,12 +1,12 @@
# Template file for 'python-traitlets' # Template file for 'python-traitlets'
pkgname=python-traitlets pkgname=python-traitlets
version=4.3.1 version=4.3.1
revision=3 revision=4
noarch=yes noarch=yes
wrksrc="traitlets-${version}" wrksrc="traitlets-${version}"
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-decorator python-ipython_genutils" depends="python-decorator python-ipython_genutils python-six python-enum34"
pycompile_module="traitlets" pycompile_module="traitlets"
short_desc="Configuration system for Python2 applications" short_desc="Configuration system for Python2 applications"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
@ -21,7 +21,7 @@ post_install() {
python3-traitlets_package() { python3-traitlets_package() {
noarch=yes noarch=yes
depends="python3-decorator python3-ipython_genutils" depends="python3-decorator python3-ipython_genutils python3-six"
replaces="python3.4-traitlets>=0" replaces="python3.4-traitlets>=0"
pycompile_module="traitlets" pycompile_module="traitlets"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"