diff --git a/srcpkgs/python-ptyprocess/template b/srcpkgs/python-ptyprocess/template new file mode 100644 index 00000000000..1c04e56f86e --- /dev/null +++ b/srcpkgs/python-ptyprocess/template @@ -0,0 +1,28 @@ +# 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 " +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 + } +} diff --git a/srcpkgs/python3.4-ptyprocess b/srcpkgs/python3.4-ptyprocess new file mode 120000 index 00000000000..08451da4e8b --- /dev/null +++ b/srcpkgs/python3.4-ptyprocess @@ -0,0 +1 @@ +python-ptyprocess \ No newline at end of file