39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'python-click-threading'
|
|
pkgname=python-click-threading
|
|
version=0.4.3
|
|
revision=2
|
|
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=8f91a9abc8bb40287338e70587bf6043449808a0228c496ff4ef03cdc55b4477
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-click-threading_package() {
|
|
noarch=yes
|
|
replaces="python3.4-click-threading>=0"
|
|
pycompile_module="click_threading"
|
|
depends="python3-click"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-click-threading_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-click-threading>=${version}_${revision}"
|
|
}
|