# Template file for 'python-pyzmq' pkgname=python-pyzmq version=15.3.0 revision=1 wrksrc="pyzmq-${version}" build_style=python-module make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" python_versions="2.7 3.4" pycompile_module="zmq" hostmakedepends="pkg-config python-devel python3.4-devel python-Cython python3.4-Cython zeromq-devel" makedepends="${hostmakedepends/pkg-config/}" short_desc="Python2 bindings for the ZeroMQ messaging library" maintainer="Alessio Sergi " homepage="https://pyzmq.readthedocs.io/" license="LGPL-3, 3-clause-BSD" distfiles="https://github.com/zeromq/pyzmq/archive/v${version}.tar.gz" checksum=777b6abb7acf23e7f21e0a294385a9a0b07ce6ce3b9f1e336f0a1d3774233a44 pre_build() { cat > setup.cfg <<-EOF [global] skip_check_zmq = True EOF } python3.4-pyzmq_package() { pycompile_version="3.4" pycompile_module="zmq" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 } }