From b55fba4cf5b077a3f2a0deda7222e4147ea29332 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 28 Oct 2015 23:18:29 +0100 Subject: [PATCH] New package: python-click-threading-0.1.2 --- srcpkgs/python-click-threading/template | 32 +++++++++++++++++++++++++ srcpkgs/python3.4-click-threading | 1 + 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/python-click-threading/template create mode 120000 srcpkgs/python3.4-click-threading diff --git a/srcpkgs/python-click-threading/template b/srcpkgs/python-click-threading/template new file mode 100644 index 00000000000..2a6be72518c --- /dev/null +++ b/srcpkgs/python-click-threading/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3.4-click-threading b/srcpkgs/python3.4-click-threading new file mode 120000 index 00000000000..5bfcef2e127 --- /dev/null +++ b/srcpkgs/python3.4-click-threading @@ -0,0 +1 @@ +python-click-threading \ No newline at end of file