32 lines
894 B
Bash
32 lines
894 B
Bash
# Template file for 'python-click-threading'
|
|
pkgname=python-click-threading
|
|
version=0.4.4
|
|
revision=1
|
|
noarch=yes
|
|
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() {
|
|
noarch=yes
|
|
pycompile_module="click_threading"
|
|
depends="python3-click"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|