void-packages/srcpkgs/python-ptyprocess/template

29 lines
815 B
Bash

# Template file for 'python-ptyprocess'
pkgname=python-ptyprocess
version=0.5
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=dcb78fb2197b49ca1b7b2f37b047bc89c0da7a90f90bd5bc17c3ce388bb6ef59
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
}
}