diff --git a/srcpkgs/python-pyte/template b/srcpkgs/python-pyte/template deleted file mode 100644 index 11a1dd80b8f..00000000000 --- a/srcpkgs/python-pyte/template +++ /dev/null @@ -1,28 +0,0 @@ -# Template file for 'python-pyte' -pkgname=python-pyte -version=0.8.0 -revision=3 -wrksrc="pyte-${version}" -build_style=python-module -pycompile_module="pyte" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-wcwidth" -short_desc="Simple Python2 VTXXX-compatible linux terminal emulator" -maintainer="Orphaned " -license="LGPL-3.0-or-later" -homepage="https://github.com/selectel/pyte" -distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz" -checksum=80f77a4f8a325faf761c22eb8ad597671e25d0de524c68d42dc765c52bf5be70 - -pre_build() { - sed -i '/setup_requires/d' setup.py -} - -python3-pyte_package() { - pycompile_module="pyte" - short_desc="${short_desc/Python2/Python3}" - depends="python3-wcwidth" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-pyte b/srcpkgs/python3-pyte deleted file mode 120000 index cb06f5fc635..00000000000 --- a/srcpkgs/python3-pyte +++ /dev/null @@ -1 +0,0 @@ -python-pyte \ No newline at end of file diff --git a/srcpkgs/python3-pyte/template b/srcpkgs/python3-pyte/template new file mode 100644 index 00000000000..301e466c1b9 --- /dev/null +++ b/srcpkgs/python3-pyte/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pyte' +pkgname=python3-pyte +version=0.8.0 +revision=4 +wrksrc="pyte-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-wcwidth" +short_desc="Simple Python3 VTXXX-compatible linux terminal emulator" +maintainer="Orphaned " +license="LGPL-3.0-or-later" +homepage="https://github.com/selectel/pyte" +distfiles="https://github.com/selectel/pyte/archive/${version}.tar.gz" +checksum=80f77a4f8a325faf761c22eb8ad597671e25d0de524c68d42dc765c52bf5be70 + +pre_build() { + sed -i '/setup_requires/d' setup.py +}