Merge pull request #1353 from tonkazoid/master
mutagen: add python3 module
This commit is contained in:
commit
eaf4264897
2 changed files with 17 additions and 3 deletions
|
@ -1,16 +1,29 @@
|
||||||
# Template file for 'mutagen'
|
# Template file for 'mutagen'
|
||||||
pkgname=mutagen
|
pkgname=mutagen
|
||||||
version=1.28
|
version=1.28
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-devel"
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="mutagen"
|
pycompile_module="mutagen"
|
||||||
short_desc="Python multimedia tagging library"
|
short_desc="Python2 multimedia tagging library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://bitbucket.org/lazka/mutagen"
|
homepage="https://bitbucket.org/lazka/mutagen"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${PYPI_SITE}/m/mutagen/mutagen-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/m/mutagen/mutagen-${version}.tar.gz"
|
||||||
checksum=7d45889c060fdb16aea1733cee92d6dcaa04b8c8574802eb7b43a9f465fa3ca9
|
checksum=7d45889c060fdb16aea1733cee92d6dcaa04b8c8574802eb7b43a9f465fa3ca9
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-mutagen
Symbolic link
1
srcpkgs/python3.4-mutagen
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
mutagen
|
Loading…
Reference in a new issue