2013-08-04 00:18:53 +02:00
|
|
|
# Template file for 'python-musicbrainzngs'
|
|
|
|
pkgname=python-musicbrainzngs
|
2014-02-06 22:00:49 +01:00
|
|
|
version=0.5
|
2014-07-02 15:25:25 +02:00
|
|
|
revision=3
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="musicbrainzngs-${version}"
|
2014-02-22 23:52:04 +01:00
|
|
|
build_style="python-module"
|
2014-07-02 15:25:25 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
2014-02-22 23:52:04 +01:00
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="python"
|
2014-07-02 15:25:25 +02:00
|
|
|
pycompile_module="musicbrainzngs"
|
|
|
|
short_desc="Python2 bindings for the Musicbrainz NGS webservice interface"
|
2014-02-22 23:52:04 +01:00
|
|
|
maintainer="Steven R <dev@styez.com>"
|
2014-07-02 15:25:25 +02:00
|
|
|
homepage="https://github.com/alastair/python-musicbrainz-ngs/"
|
2013-08-04 00:18:53 +02:00
|
|
|
license="BSD"
|
2014-07-02 15:25:25 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
|
|
|
|
checksum=281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489
|
2014-02-22 23:52:04 +01:00
|
|
|
|
2014-07-02 15:25:25 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|