python-pexpect: update to 4.0.1

This commit is contained in:
Alessio Sergi 2015-10-08 08:00:00 +02:00
parent 6fdaa972b2
commit 8c4b78a27a

View File

@ -1,24 +1,23 @@
# Template file for 'python-pexpect' # Template file for 'python-pexpect'
pkgname=python-pexpect pkgname=python-pexpect
version=3.3 version=4.0.1
revision=2 revision=1
noarch=yes noarch=yes
wrksrc="${pkgname/python-}-${version}" wrksrc="${pkgname/python-}-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel" hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="${hostmakedepends}" depends="python-ptyprocess"
depends="python" pycompile_module="pexpect"
pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pexpect"
short_desc="Python2 module for spawning child applications and controlling them" short_desc="Python2 module for spawning child applications and controlling them"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://pexpect.readthedocs.org/" homepage="http://pexpect.readthedocs.org/"
license="ISC" license="ISC"
distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz"
checksum=dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba checksum=232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c
pre_build() { pre_build() {
sed -i '1d' pexpect/FSM.py sed -i '/^#!/d' pexpect/FSM.py
} }
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
@ -26,12 +25,12 @@ post_install() {
python3.4-pexpect_package() { python3.4-pexpect_package() {
noarch=yes noarch=yes
depends="python3.4" depends="python3.4-ptyprocess"
pycompile_version="3.4" pycompile_version="3.4"
pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pexpect" pycompile_module="pexpect"
short_desc="${short_desc/Python2/Python3.4}" short_desc="${short_desc/Python2/Python3.4}"
pkg_install() { pkg_install() {
vmove usr/lib/python3.4 vmove usr/lib/python3.4
vlicense ${wrksrc}/LICENSE vlicense LICENSE
} }
} }