void-packages/srcpkgs/python-musicbrainzngs/template
Alessio Sergi 6d75bc0adc python-musicbrainzngs: rebuild for Python 3.5
Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
2016-10-17 16:32:02 +02:00

39 lines
1.1 KiB
Bash

# Template file for 'python-musicbrainzngs'
pkgname=python-musicbrainzngs
version=0.6
revision=2
noarch=yes
wrksrc="musicbrainzngs-${version}"
build_style="python-module"
hostmakedepends="python-devel python3-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="${PYPI_SITE}/m/musicbrainzngs/musicbrainzngs-${version}.tar.gz"
checksum=28ef261a421dffde0a25281dab1ab214e1b407eec568cd05a53e73256f56adb5
post_install() {
vlicense COPYING
}
python3-musicbrainzngs_package() {
noarch=yes
depends="python3"
pycompile_module="musicbrainzngs"
replaces="python3.4-musicbrainzngs>=0"
short_desc="${short_desc/python2/python3}"
pkg_install() {
vlicense COPYING
vmove usr/lib/python3*
}
}
python3.4-musicbrainzngs_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-musicbrainzngs>=${version}_${revision}"
}