diff --git a/srcpkgs/python-zipstream/template b/srcpkgs/python-zipstream/template new file mode 100644 index 00000000000..346ecf1fc4b --- /dev/null +++ b/srcpkgs/python-zipstream/template @@ -0,0 +1,26 @@ +# Template file for 'python-zipstream' +pkgname=python-zipstream +version=1.1.4 +revision=2 +noarch=yes +wrksrc="python-zipstream-${version}" +build_style=python-module +pycompile_module="zipstream" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Python2 ZIP archive generator" +maintainer="Michael Aldridge " +license="GPL-3" +homepage="https://github.com/allanlei/python-zipstream" +distfiles="https://github.com/allanlei/python-zipstream/archive/v${version}.tar.gz" +checksum=32a7a4bdb786914445589595273beffbbf9b6a0a3a3dc2cf19ea96114bd2abd7 + +python3-zipstream_package() { + noarch=yes + depends="python3" + pycompile_module="zipstream" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-zipstream b/srcpkgs/python3-zipstream new file mode 120000 index 00000000000..7c939b710c6 --- /dev/null +++ b/srcpkgs/python3-zipstream @@ -0,0 +1 @@ +python-zipstream \ No newline at end of file diff --git a/srcpkgs/python3-zipstream/template b/srcpkgs/python3-zipstream/template deleted file mode 100644 index 218c6bf6d71..00000000000 --- a/srcpkgs/python3-zipstream/template +++ /dev/null @@ -1,13 +0,0 @@ -# Template file for 'python3-zipstream' -pkgname=python3-zipstream -version=1.1.4 -revision=1 -wrksrc=python-zipstream-${version} -build_style=python3-module -hostmakedepends="python python3 python-setuptools python3-setuptools" -short_desc="Python's ZipFile module, except it works as a generator" -maintainer="Michael Aldridge " -license="GPL-3" -homepage="https://github.com/allanlei/python-zipstream" -distfiles="https://github.com/allanlei/python-zipstream/archive/v${version}.tar.gz" -checksum=32a7a4bdb786914445589595273beffbbf9b6a0a3a3dc2cf19ea96114bd2abd7