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.0
|
|
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=1823fac05f6b7705ab15956512a06d1b634beb4bbf99e115cab4fc4f6d1436d3
|
|
|
|
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}"
|
|
}
|