void-packages/srcpkgs/mutagen/template

45 lines
1.3 KiB
Bash
Raw Normal View History

# Template file for 'mutagen'
pkgname=mutagen
2016-08-13 18:19:06 +00:00
version=1.34.1
2015-05-11 06:19:19 +00:00
revision=1
2014-02-21 14:27:53 +00:00
noarch=yes
build_style=python-module
2015-04-20 14:16:53 +00:00
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
2014-10-21 18:20:03 +00:00
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="mutagen"
2015-04-20 14:16:53 +00:00
short_desc="Python2 multimedia tagging library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2016-05-02 21:33:30 +00:00
homepage="https://github.com/quodlibet/mutagen"
license="GPL-2"
2014-10-11 21:45:50 +00:00
distfiles="${PYPI_SITE}/m/mutagen/mutagen-${version}.tar.gz"
2016-08-13 18:19:06 +00:00
checksum=aacd667ef1f4fa7b7c201f36b2a6eda1ead3c92331017601d8082af62a7ee461
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"
2015-04-20 14:16:53 +00:00
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"
2015-04-20 14:16:53 +00:00
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
2015-04-20 14:16:53 +00:00
vmove usr/lib/python3.4
}
}