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'
|
# Template file for 'python-hiredis'
|
||||||
pkgname=python-hiredis
|
pkgname=python-hiredis
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="hiredis-${version}"
|
wrksrc="hiredis-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
makedepends="python-devel python3-devel hiredis-devel"
|
||||||
makedepends="python-devel python3.4-devel hiredis-devel"
|
|
||||||
pycompile_module="hiredis"
|
pycompile_module="hiredis"
|
||||||
short_desc="Python2 wrapper for hiredis"
|
short_desc="Python2 wrapper for hiredis"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
@ -19,12 +18,17 @@ post_install() {
|
|||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-hiredis_package() {
|
python3-hiredis_package() {
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="hiredis"
|
pycompile_module="hiredis"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-hiredis>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-hiredis_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-hiredis>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
1
srcpkgs/python3-hiredis
Symbolic link
1
srcpkgs/python3-hiredis
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-hiredis
|
Loading…
x
Reference in New Issue
Block a user