void-packages/srcpkgs/python-zipstream/template

27 lines
775 B
Bash
Raw Normal View History

# Template file for 'python-zipstream'
pkgname=python-zipstream
version=1.1.4
revision=3
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 <aldridge.mac@gmail.com>"
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*
}
}