diff --git a/srcpkgs/python-musicbrainzngs/template b/srcpkgs/python-musicbrainzngs/template index 83ec7cebcab..a69bce0adc1 100644 --- a/srcpkgs/python-musicbrainzngs/template +++ b/srcpkgs/python-musicbrainzngs/template @@ -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 " -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 + } +} diff --git a/srcpkgs/python3.4-musicbrainzngs b/srcpkgs/python3.4-musicbrainzngs new file mode 120000 index 00000000000..81a3ce402a2 --- /dev/null +++ b/srcpkgs/python3.4-musicbrainzngs @@ -0,0 +1 @@ +python-musicbrainzngs \ No newline at end of file