python-lz4: 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 11:25:46 +02:00
parent 451ad4a629
commit 57c5034b4a
2 changed files with 13 additions and 8 deletions

View file

@ -1,12 +1,11 @@
# Template file for 'python-lz4'
pkgname=python-lz4
version=0.8.2
revision=1
revision=2
wrksrc=lz4-${version}
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="pkg-config python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel lz4-devel"
hostmakedepends="pkg-config python-setuptools python3-setuptools"
makedepends="python-devel python3-devel lz4-devel"
short_desc="LZ4 bindings for Python2"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="3-clause-BSD"
@ -23,11 +22,16 @@ post_install() {
vlicense LICENSE
}
python3.4-lz4_package() {
short_desc="${short_desc/Python2/Python3.4}"
python3-lz4_package() {
replaces="python3.4-lz4>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3.4
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-lz4_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-lz4>=${version}_${revision}"
}

1
srcpkgs/python3-lz4 Symbolic link
View file

@ -0,0 +1 @@
python-lz4