znc: 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-16 22:42:50 +02:00
parent e9437d5665
commit 2e5fe3ed14
2 changed files with 11 additions and 4 deletions

1
srcpkgs/znc-python3 Symbolic link
View file

@ -0,0 +1 @@
znc

View file

@ -1,11 +1,11 @@
# Template file for 'znc'
pkgname=znc
version=1.6.3
revision=6
revision=7
build_style=gnu-configure
configure_args="--enable-python --enable-perl --enable-tcl --enable-cyrus"
hostmakedepends="pkg-config perl"
makedepends="libressl-devel python3.4-devel tcl-devel libsasl-devel icu-devel zlib-devel perl"
makedepends="libressl-devel python3-devel tcl-devel libsasl-devel icu-devel zlib-devel perl"
short_desc="An advanced IRC Bouncer"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="Apache-2.0"
@ -31,9 +31,10 @@ post_install() {
vsv znc
}
znc-python3.4_package() {
znc-python3_package() {
replaces="znc-python3.4>=0"
depends="znc>=${version}_${revision}"
short_desc+=" - python3.4 plugin"
short_desc+=" - python3 plugin"
pkg_install() {
vmove usr/lib/znc/modpython
vmove usr/lib/znc/modpython.so
@ -64,3 +65,8 @@ znc-devel_package() {
vmove usr/lib/pkgconfig
}
}
znc-python3.4_package() {
build_style=meta
short_desc+=" - python3.4 plugin (transitional dummy package)"
depends="znc-python3>=${version}_${revision}"
}