34 lines
895 B
Bash
34 lines
895 B
Bash
# Template file for 'python-pexpect'
|
|
pkgname=python-pexpect
|
|
version=4.1.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname/python-}-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python-ptyprocess"
|
|
pycompile_module="pexpect"
|
|
short_desc="Python2 module for spawning child applications and controlling them"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://pexpect.readthedocs.org/"
|
|
license="ISC"
|
|
distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz"
|
|
checksum=c381c60f1987355b65df8f08a27f428831914c8a81091bd1778ac336fa2f27e7
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-pexpect_package() {
|
|
noarch=yes
|
|
depends="python3.4-ptyprocess"
|
|
pycompile_version="3.4"
|
|
pycompile_module="pexpect"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|