python-pylast: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
147ad95dbd
commit
a96a43ec73
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-pylast'
|
||||
pkgname=python-pylast
|
||||
version=1.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=pylast-${version}
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
noarch=yes
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-six"
|
||||
pycompile_module="pylast"
|
||||
short_desc="Python2 interface to last.fm and libre.fm"
|
||||
|
@ -16,13 +15,19 @@ homepage="https://github.com/pylast/pylast"
|
|||
distfiles="${PYPI_SITE}/p/pylast/pylast-${version}.tar.gz"
|
||||
checksum=6bf325ee0fdeb35780554843cf64df99304abb98c5ce2e451c0df7e95e08b42e
|
||||
|
||||
python3-pylast_package() {
|
||||
noarch=yes
|
||||
depends="python3-six"
|
||||
pycompile_module="pylast"
|
||||
replaces="python3.4-pylast>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-pylast_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-six"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="pylast"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-pylast>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-pylast
Symbolic link
1
srcpkgs/python3-pylast
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-pylast
|
Loading…
Reference in a new issue