void-packages/srcpkgs/python-click-threading/template

34 lines
940 B
Bash

# Template file for 'python-click-threading'
pkgname=python-click-threading
version=0.1.2
revision=2
noarch=yes
wrksrc="click-threading-${version}"
build_style="python-module"
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-click"
pycompile_module="click-threading"
short_desc="Multithreaded Click apps made easy in Python2"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT"
homepage="https://github.com/click-contrib/click-threading"
distfiles="${PYPI_SITE}/c/click-threading/click-threading-${version}.tar.gz"
checksum=85045457e02f16fba3110dc6b16e980bf3e65433808da2b550dd513206d9b94a
post_install() {
vlicense LICENSE
}
python3.4-click-threading_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="click-threading"
depends="python3.4-click"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}