29 lines
919 B
Bash
29 lines
919 B
Bash
# Template file for 'python-musicbrainzngs'
|
|
pkgname=python-musicbrainzngs
|
|
version=0.5
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="musicbrainzngs-${version}"
|
|
build_style="python-module"
|
|
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/"
|
|
license="BSD"
|
|
distfiles="https://pypi.python.org/packages/source/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
|
|
checksum=281388ab750d2996e9feca4580fd4215d616a698e02cd6719cb9b8562945c489
|
|
|
|
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
|
|
}
|
|
}
|