python-pyzmq: 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 00:26:18 +02:00
parent 8e65dd4c60
commit dcad308b38
2 changed files with 13 additions and 8 deletions

View file

@ -1,14 +1,13 @@
# Template file for 'python-pyzmq' # Template file for 'python-pyzmq'
pkgname=python-pyzmq pkgname=python-pyzmq
version=15.4.0 version=15.4.0
revision=1 revision=2
wrksrc="pyzmq-${version}" wrksrc="pyzmq-${version}"
build_style=python-module build_style=python-module
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
python_versions="2.7 3.4"
pycompile_module="zmq" pycompile_module="zmq"
hostmakedepends="pkg-config python-devel python3.4-devel python-Cython hostmakedepends="pkg-config python-devel python3-devel python-Cython
python3.4-Cython zeromq-devel" python3-Cython zeromq-devel"
makedepends="${hostmakedepends/pkg-config/}" makedepends="${hostmakedepends/pkg-config/}"
short_desc="Python2 bindings for the ZeroMQ messaging library" short_desc="Python2 bindings for the ZeroMQ messaging library"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
@ -24,11 +23,16 @@ pre_build() {
EOF EOF
} }
python3.4-pyzmq_package() { python3-pyzmq_package() {
pycompile_version="3.4"
pycompile_module="zmq" pycompile_module="zmq"
short_desc="${short_desc/Python2/Python3.4}" replaces="python3.4-pyzmq>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3.4 vmove usr/lib/python3*
} }
} }
python3.4-pyzmq_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pyzmq>=${version}_${revision}"
}

1
srcpkgs/python3-pyzmq Symbolic link
View file

@ -0,0 +1 @@
python-pyzmq