Merge pull request #2838 from okapia/clickthr
New package: python-click-threading-0.1.2
This commit is contained in:
commit
0304832bb8
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-click-threading/template
Normal file
32
srcpkgs/python-click-threading/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-click-threading'
|
||||||
|
pkgname=python-click-threading
|
||||||
|
version=0.1.2
|
||||||
|
revision=1
|
||||||
|
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"
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-click-threading
Symbolic link
1
srcpkgs/python3.4-click-threading
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-click-threading
|
Loading…
Reference in a new issue