mutagen: update to 1.33.2, use alternatives.

This commit is contained in:
Alessio Sergi 2016-07-07 18:08:08 +02:00
parent b158faa52b
commit 6c6c82c8a8

View file

@ -1,6 +1,6 @@
# Template file for 'mutagen'
pkgname=mutagen
version=1.33.1
version=1.33.2
revision=1
noarch=yes
build_style=python-module
@ -14,16 +14,31 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/quodlibet/mutagen"
license="GPL-2"
distfiles="${PYPI_SITE}/m/mutagen/mutagen-${version}.tar.gz"
checksum=2055813b8a4db8b74dd96fc0c804f40322726881f810fb5e7e84e7a4fb420c32
checksum=2ad8b968b05fdc02bdfd115ba619f81d1cabecb7f82892806242fd1924a718e5
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp2.7
mutagen:mid3iconv:/usr/bin/mid3iconv2.7
mutagen:mid3v2:/usr/bin/mid3v22.7
mutagen:moggsplit:/usr/bin/moggsplit2.7
mutagen:mutagen-inspect:/usr/bin/mutagen-inspect2.7
mutagen:mutagen-pony:/usr/bin/mutagen-pony2.7"
python3.4-mutagen_package() {
alternatives="
mutagen:mid3cp:/usr/bin/mid3cp3.4
mutagen:mid3iconv:/usr/bin/mid3iconv3.4
mutagen:mid3v2:/usr/bin/mid3v23.4
mutagen:moggsplit:/usr/bin/moggsplit3.4
mutagen:mutagen-inspect:/usr/bin/mutagen-inspect3.4
mutagen:mutagen-pony:/usr/bin/mutagen-pony3.4"
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/bin/*3.4
vmove usr/lib/python3.4
}
}