mutagen: update to 1.35.1
This commit is contained in:
parent
ab4e465a40
commit
4d08273b42
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mutagen'
|
||||
pkgname=mutagen
|
||||
version=1.34.1
|
||||
revision=2
|
||||
version=1.35.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
|
@ -13,21 +13,27 @@ 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=aacd667ef1f4fa7b7c201f36b2a6eda1ead3c92331017601d8082af62a7ee461
|
||||
checksum=49cda72ee5213e60d5d48a80187b0b17d37a6244f37751f72e480c1b1832934e
|
||||
|
||||
alternatives="
|
||||
mutagen:mid3cp:/usr/bin/mid3cp2
|
||||
mutagen:mid3iconv:/usr/bin/mid3iconv2
|
||||
mutagen:mid3v2:/usr/bin/mid3v22
|
||||
mutagen:mid3v2:/usr/bin/python2-mid3v2
|
||||
mutagen:moggsplit:/usr/bin/moggsplit2
|
||||
mutagen:mutagen-inspect:/usr/bin/mutagen-inspect2
|
||||
mutagen:mutagen-pony:/usr/bin/mutagen-pony2"
|
||||
|
||||
post_install() {
|
||||
# XXX: override the default naming scheme for mid3v2
|
||||
cp -a ${DESTDIR}/usr/bin/{,python3-}mid3v2
|
||||
mv ${DESTDIR}/usr/bin/{,python2-}mid3v2
|
||||
}
|
||||
|
||||
python3-mutagen_package() {
|
||||
alternatives="
|
||||
mutagen:mid3cp:/usr/bin/mid3cp3
|
||||
mutagen:mid3iconv:/usr/bin/mid3iconv3
|
||||
mutagen:mid3v2:/usr/bin/mid3v23
|
||||
mutagen:mid3v2:/usr/bin/python3-mid3v2
|
||||
mutagen:moggsplit:/usr/bin/moggsplit3
|
||||
mutagen:mutagen-inspect:/usr/bin/mutagen-inspect3
|
||||
mutagen:mutagen-pony:/usr/bin/mutagen-pony3"
|
||||
|
@ -38,6 +44,7 @@ python3-mutagen_package() {
|
|||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/bin/python3-*
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue