python-musicbrainzngs: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 16:32:02 +02:00
parent cba4812ea0
commit 6d75bc0adc
2 changed files with 14 additions and 8 deletions

View file

@ -1,12 +1,11 @@
# Template file for 'python-musicbrainzngs'
pkgname=python-musicbrainzngs
version=0.6
revision=1
revision=2
noarch=yes
wrksrc="musicbrainzngs-${version}"
build_style="python-module"
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
hostmakedepends="python-devel python3-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="musicbrainzngs"
@ -21,14 +20,20 @@ post_install() {
vlicense COPYING
}
python3.4-musicbrainzngs_package() {
python3-musicbrainzngs_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
depends="python3"
pycompile_module="musicbrainzngs"
short_desc="${short_desc/python2/python3.4}"
replaces="python3.4-musicbrainzngs>=0"
short_desc="${short_desc/python2/python3}"
pkg_install() {
vlicense COPYING
vmove usr/lib/python3.4
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}"
}

View file

@ -0,0 +1 @@
python-musicbrainzngs