From 8e46e929d14ff03f740ff2121960a5448c5c3aac Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 1 Aug 2015 19:21:06 +0200 Subject: [PATCH] New package: python-trollius-2.0 --- srcpkgs/python-trollius/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python-trollius/update | 1 + srcpkgs/python3.4-trollius | 1 + 3 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-trollius/template create mode 100644 srcpkgs/python-trollius/update create mode 120000 srcpkgs/python3.4-trollius diff --git a/srcpkgs/python-trollius/template b/srcpkgs/python-trollius/template new file mode 100644 index 0000000000..b45ec48a70 --- /dev/null +++ b/srcpkgs/python-trollius/template @@ -0,0 +1,28 @@ +# Template file for 'python-trollius' +pkgname=python-trollius +version=2.0 +revision=1 +noarch=yes +wrksrc="trollius-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="trollius" +short_desc="Infrastructure for writing single-threaded concurrent code" +maintainer="Christian Neukirchen " +homepage="https://github.com/haypo/trollius" +license="Apache-2.0" +distfiles="${PYPI_SITE}/t/trollius/trollius-${version}.tar.gz" +checksum=a8e0e2d3a3193be3e0f113253f41675d2679d23c491f32b37f4e0a736f32a28f + +python3.4-trollius_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="trollius" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python-trollius/update b/srcpkgs/python-trollius/update new file mode 100644 index 0000000000..e9b0a0a5ea --- /dev/null +++ b/srcpkgs/python-trollius/update @@ -0,0 +1 @@ +ignore="*b*" diff --git a/srcpkgs/python3.4-trollius b/srcpkgs/python3.4-trollius new file mode 120000 index 0000000000..2621021076 --- /dev/null +++ b/srcpkgs/python3.4-trollius @@ -0,0 +1 @@ +python-trollius \ No newline at end of file