void-packages/srcpkgs/mutagen/template
2016-07-26 00:08:10 +02:00

44 lines
1.3 KiB
Bash

# Template file for 'mutagen'
pkgname=mutagen
version=1.34
revision=1
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="mutagen"
short_desc="Python2 multimedia tagging library"
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=baf089121710c36ce317d9f107d552a3c7ec14dfcaa9618b809c4b25ef775619
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
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
}
}