python-musicbrainzngs: add python3.4 subpkg with pycompile support

This commit is contained in:
Alessio Sergi 2014-07-02 15:25:25 +02:00
parent f38f423afd
commit 964865c2e8
2 changed files with 21 additions and 9 deletions

View file

@ -1,18 +1,29 @@
# Template file for 'python-musicbrainzngs'
pkgname=python-musicbrainzngs
version=0.5
revision=2
distfiles="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
checksum="281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489"
revision=3
noarch=yes
wrksrc="musicbrainzngs-${version}"
build_style="python-module"
pycompile_module="musicbrainzngs"
hostmakedepends="python-devel python-distribute"
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="musicbrainzngs"
short_desc="Python2 bindings for the Musicbrainz NGS webservice interface"
maintainer="Steven R <dev@styez.com>"
homepage="https://github.com/alastair/python-musicbrainz-ngs"
homepage="https://github.com/alastair/python-musicbrainz-ngs/"
license="BSD"
short_desc="Python bindings for the Musicbrainz NGS webservice interface"
distfiles="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
checksum=281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489
noarch="yes"
wrksrc="musicbrainzngs-${version}"
python3.4-musicbrainzngs_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="musicbrainzngs"
short_desc="${short_desc/python2/python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

View file

@ -0,0 +1 @@
python-musicbrainzngs