2015-10-28 23:18:29 +01:00
|
|
|
# Template file for 'python-click-threading'
|
|
|
|
pkgname=python-click-threading
|
|
|
|
version=0.1.2
|
2015-11-09 19:55:18 +01:00
|
|
|
revision=2
|
2015-10-28 23:18:29 +01:00
|
|
|
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"
|
2015-11-09 19:55:18 +01:00
|
|
|
pycompile_module="click-threading"
|
2015-10-28 23:18:29 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|