29 lines
817 B
Bash
29 lines
817 B
Bash
# Template file for 'python-ptyprocess'
|
|
pkgname=python-ptyprocess
|
|
version=0.5.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="ptyprocess-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="ptyprocess"
|
|
short_desc="Run a subprocess in a pseudo terminal (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/pexpect/ptyprocess"
|
|
license="ISC"
|
|
distfiles="${PYPI_SITE}/p/ptyprocess/ptyprocess-${version}.tar.gz"
|
|
checksum=0530ce63a9295bfae7bd06edc02b6aa935619f486f0f1dc0972f516265ee81a6
|
|
|
|
python3.4-ptyprocess_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="ptyprocess"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|