From d66b1c3c7d474027b334a8a3e927f74c2e214224 Mon Sep 17 00:00:00 2001 From: Georg Schabel Date: Mon, 20 Apr 2015 16:16:53 +0200 Subject: [PATCH] mutagen: add python3 module --- srcpkgs/mutagen/template | 19 ++++++++++++++++--- srcpkgs/python3.4-mutagen | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/python3.4-mutagen diff --git a/srcpkgs/mutagen/template b/srcpkgs/mutagen/template index 35a973457b..bbd6b01a66 100644 --- a/srcpkgs/mutagen/template +++ b/srcpkgs/mutagen/template @@ -1,16 +1,29 @@ # Template file for 'mutagen' pkgname=mutagen version=1.28 -revision=1 +revision=2 noarch=yes build_style=python-module -hostmakedepends="python-devel" +python_versions="2.7 3.4" +hostmakedepends="python-devel python3.4-devel" makedepends="${hostmakedepends}" depends="python" pycompile_module="mutagen" -short_desc="Python multimedia tagging library" +short_desc="Python2 multimedia tagging library" maintainer="Juan RP " homepage="https://bitbucket.org/lazka/mutagen" license="GPL-2" distfiles="${PYPI_SITE}/m/mutagen/mutagen-${version}.tar.gz" checksum=7d45889c060fdb16aea1733cee92d6dcaa04b8c8574802eb7b43a9f465fa3ca9 + +python3.4-mutagen_package() { + noarch=yes + wrksrc=${pkgname#*-}-${version} + depends="python3.4" + pycompile_version="3.4" + pycompile_module="mutagen" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-mutagen b/srcpkgs/python3.4-mutagen new file mode 120000 index 0000000000..7e10650b42 --- /dev/null +++ b/srcpkgs/python3.4-mutagen @@ -0,0 +1 @@ +mutagen \ No newline at end of file