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

32 lines
898 B
Bash

# Template file for 'python-click-threading'
pkgname=python-click-threading
version=0.4.4
revision=1
archs=noarch
wrksrc="click-threading-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-click python-futures"
pycompile_module="click_threading"
short_desc="Multithreaded Click apps made easy (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=b2b0fada5bf184b56afaccc99d0d2548d8ab07feb2e95e29e490f6b99c605de7
post_install() {
vlicense LICENSE
}
python3-click-threading_package() {
archs=noarch
pycompile_module="click_threading"
depends="python3-click"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}