From 2bd4c2cdf85121ebc059945776577adc2c131acf Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 3 Feb 2015 19:29:15 +0100 Subject: [PATCH] python-nbxmpp: add python3.4 subpkg --- srcpkgs/python-nbxmpp/template | 19 ++++++++++++++++--- srcpkgs/python3.4-nbxmpp | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/python3.4-nbxmpp diff --git a/srcpkgs/python-nbxmpp/template b/srcpkgs/python-nbxmpp/template index 344f5b7947..520c5f205b 100644 --- a/srcpkgs/python-nbxmpp/template +++ b/srcpkgs/python-nbxmpp/template @@ -1,15 +1,28 @@ # Template file for 'python-nbxmpp' pkgname=python-nbxmpp version=0.5.2 -revision=1 +revision=2 noarch=yes wrksrc=${pkgname#*-}-${version} build_style=python-module -hostmakedepends="python-setuptools" +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" depends="python" -short_desc="Non blocking Jabber/XMPP module" +pycompile_module="nbxmpp" +short_desc="Non blocking Jabber/XMPP module (Python2)" maintainer="Duncaen " license="GPL-3" homepage="https://python-nbxmpp.gajim.org/" distfiles="${PYPI_SITE}/n/nbxmpp/nbxmpp-${version}.tar.gz" checksum=de949b181a0f7b430103e1ef4957dab1283be01938986f13bfbe257a54f540ec + +python3.4-nbxmpp_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="nbxmpp" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-nbxmpp b/srcpkgs/python3.4-nbxmpp new file mode 120000 index 0000000000..ceb4d295ad --- /dev/null +++ b/srcpkgs/python3.4-nbxmpp @@ -0,0 +1 @@ +python-nbxmpp \ No newline at end of file