2011-11-08 07:39:52 +00:00
|
|
|
# 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
|
2013-04-14 02:24:51 +00:00
|
|
|
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}"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="mutagen"
|
2015-04-20 14:16:53 +00:00
|
|
|
short_desc="Python2 multimedia tagging library"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2016-05-02 21:33:30 +00:00
|
|
|
homepage="https://github.com/quodlibet/mutagen"
|
2013-04-14 02:24:51 +00:00
|
|
|
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
|
2016-07-07 16:08:08 +00:00
|
|
|
|
|
|
|
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() {
|
2016-07-07 16:08:08 +00:00
|
|
|
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() {
|
2016-07-07 16:08:08 +00:00
|
|
|
vmove usr/bin/*3.4
|
2015-04-20 14:16:53 +00:00
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|