29 lines
794 B
Bash
29 lines
794 B
Bash
# Template file for 'mutagen'
|
|
pkgname=mutagen
|
|
version=1.33.1
|
|
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=2055813b8a4db8b74dd96fc0c804f40322726881f810fb5e7e84e7a4fb420c32
|
|
|
|
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
|
|
}
|
|
}
|