03bee9decc
[skip ci]
32 lines
893 B
Bash
32 lines
893 B
Bash
# Template file for 'python-musicbrainzngs'
|
|
pkgname=python-musicbrainzngs
|
|
version=0.6
|
|
revision=4
|
|
archs=noarch
|
|
wrksrc="musicbrainzngs-${version}"
|
|
build_style="python-module"
|
|
pycompile_module="musicbrainzngs"
|
|
hostmakedepends="python-devel python3-devel"
|
|
makedepends="${hostmakedepends}"
|
|
depends="python"
|
|
short_desc="Python2 bindings for the Musicbrainz NGS webservice interface"
|
|
maintainer="Steven R <dev@styez.com>"
|
|
license="BSD"
|
|
homepage="https://github.com/alastair/python-musicbrainz-ngs/"
|
|
distfiles="${PYPI_SITE}/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
|
|
checksum=28ef261a421dffde0a25281dab1ab214e1b407eec568cd05a53e73256f56adb5
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
python3-musicbrainzngs_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="musicbrainzngs"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense COPYING
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|