python-hiredis: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
a7e83ec517
commit
51f64fc36c
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-hiredis'
|
||||
pkgname=python-hiredis
|
||||
version=0.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="hiredis-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
makedepends="python-devel python3.4-devel hiredis-devel"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
makedepends="python-devel python3-devel hiredis-devel"
|
||||
pycompile_module="hiredis"
|
||||
short_desc="Python2 wrapper for hiredis"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
|
@ -19,12 +18,17 @@ post_install() {
|
|||
vlicense COPYING
|
||||
}
|
||||
|
||||
python3.4-hiredis_package() {
|
||||
pycompile_version="3.4"
|
||||
python3-hiredis_package() {
|
||||
pycompile_module="hiredis"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-hiredis>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
vlicense COPYING
|
||||
}
|
||||
}
|
||||
python3.4-hiredis_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-hiredis>=${version}_${revision}"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-hiredis
|
Loading…
Reference in New Issue