diff --git a/srcpkgs/python-pexpect/template b/srcpkgs/python-pexpect/template index c3432228ee..fc865f6404 100644 --- a/srcpkgs/python-pexpect/template +++ b/srcpkgs/python-pexpect/template @@ -1,7 +1,7 @@ # Template file for 'python-pexpect' pkgname=python-pexpect version=3.3 -revision=1 +revision=2 noarch=yes wrksrc="${pkgname/python-}-${version}" build_style=python-module @@ -9,18 +9,17 @@ python_versions="2.7 3.4" hostmakedepends="python-devel python3.4-devel" makedepends="${hostmakedepends}" depends="python" -pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pyexpect" +pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pexpect" short_desc="Python2 module for spawning child applications and controlling them" maintainer="Juan RP " homepage="http://pexpect.readthedocs.org/" license="ISC" -distfiles="https://pypi.python.org/packages/source/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz" +distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz" checksum=dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba pre_build() { sed -i '1d' pexpect/FSM.py } - post_install() { vlicense LICENSE } @@ -29,7 +28,7 @@ python3.4-pexpect_package() { noarch=yes depends="python3.4" pycompile_version="3.4" - pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pyexpect" + pycompile_module="screen.py pxssh.py ANSI.py FSM.py fdpexpect.py pexpect" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4