void-packages/srcpkgs/python-ptyprocess/template

29 lines
815 B
Bash

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