diff --git a/srcpkgs/python-curtsies/template b/srcpkgs/python-curtsies/template new file mode 100644 index 00000000000..466273fb602 --- /dev/null +++ b/srcpkgs/python-curtsies/template @@ -0,0 +1,31 @@ +# Template file for 'python-curtsies' +pkgname=python-curtsies +version=0.2.11 +revision=1 +noarch=yes +wrksrc="curtsies-${version}" +build_style=python-module +pycompile_module="curtsies" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-blessings>=1.5 python-wcwidth>=0.1.4" +short_desc="Curses-like terminal wrapper, with colored strings (Python2)" +maintainer="Maurizio Porrato " +homepage="https://github.com/thomasballinger/curtsies" +license="MIT" +distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz" +checksum=ec4639df654357944c201abd0d791d9dfd3ac27ce4f90ba1c2991aaf07af92ee + +post_install() { + vlicense LICENSE +} + +python3-curtsies_package() { + noarch=yes + pycompile_module="curtsies" + depends="python3-blessings>=1.5 python3-wcwidth>=0.1.4" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-curtsies b/srcpkgs/python3-curtsies new file mode 120000 index 00000000000..2e1d562ff64 --- /dev/null +++ b/srcpkgs/python3-curtsies @@ -0,0 +1 @@ +python-curtsies \ No newline at end of file