2015-03-15 16:22:24 +01:00
|
|
|
# Template file for 'python-ptyprocess'
|
|
|
|
pkgname=python-ptyprocess
|
2015-05-21 09:35:15 +02:00
|
|
|
version=0.5
|
2015-03-15 16:22:24 +01:00
|
|
|
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"
|
2015-05-21 09:35:15 +02:00
|
|
|
checksum=dcb78fb2197b49ca1b7b2f37b047bc89c0da7a90f90bd5bc17c3ce388bb6ef59
|
2015-03-15 16:22:24 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|