diff --git a/srcpkgs/python-ttystatus/template b/srcpkgs/python-ttystatus/template index 850f8f4ff9b..2c7df9acad2 100644 --- a/srcpkgs/python-ttystatus/template +++ b/srcpkgs/python-ttystatus/template @@ -1,16 +1,25 @@ # Template file for 'python-ttystatus' pkgname=python-ttystatus -version=0.35 +version=0.37 revision=1 noarch=yes -build_style=python2-module -hostmakedepends="python-setuptools" -makedepends="python-devel" -depends="python" +build_style=python-module pycompile_module="ttystatus" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" short_desc="Terminal progress bar and status output for Python2" maintainer="Eivind Uggedal " homepage="http://liw.fi/ttystatus/" license="GPL-3" distfiles="http://code.liw.fi/debian/pool/main/p/${pkgname}/${pkgname}_${version}.orig.tar.xz" -checksum=317120cbee8c45b459d32f9c887aee51cd0fe1a26732c87a97ae904a1af005fc +checksum=89dc70da1e49b099bcc4b7332b266936ecd5c75223f4e4bf9b6add5064cb5712 + +python3-ttystatus_package() { + noarch=yes + depends="python3" + pycompile_module="ttystatus" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-ttystatus b/srcpkgs/python3-ttystatus new file mode 120000 index 00000000000..46fbf55941e --- /dev/null +++ b/srcpkgs/python3-ttystatus @@ -0,0 +1 @@ +python-ttystatus \ No newline at end of file