diff --git a/common/shlibs b/common/shlibs index 6fb687e9794..366a779f04a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1100,7 +1100,7 @@ libvirt-gconfig-1.0.so.0 libvirt-glib-0.1.2_1 libvirt-gobject-1.0.so.0 libvirt-glib-0.1.2_1 libvirt-glib-1.0.so.0 libvirt-glib-0.1.2_1 libgsasl.so.7 libgsasl-1.8.0_1 -libzmq.so.3 zeromq-3.2.0_1 +libzmq.so.4 zeromq-4.0.5_1 libstatgrab.so.6 libstatgrab-0.17_1 libseccomp.so.2 libseccomp-2.0.0_1 libqrencode.so.3 libqrencode-3.4.1_1 diff --git a/srcpkgs/python-pyzmq/template b/srcpkgs/python-pyzmq/template new file mode 100644 index 00000000000..cb5f3441265 --- /dev/null +++ b/srcpkgs/python-pyzmq/template @@ -0,0 +1,40 @@ +# Template file for 'python-pyzmq' +pkgname=python-pyzmq +version=14.5.0 +revision=1 +wrksrc="pyzmq-${version}" +build_style=python-module +make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" +python_versions="2.7 3.4" +hostmakedepends="pkg-config python-devel python3.4-devel zeromq-devel" +makedepends="${hostmakedepends/pkg-config/}" +pycompile_module="zmq" +short_desc="Python2 bindings for the ZeroMQ messaging library" +maintainer="Alessio Sergi " +homepage="https://github.com/zeromq/pyzmq" +license="LGPL-3, 3-clause-BSD" +distfiles="${PYPI_SITE}/p/pyzmq/pyzmq-${version}.tar.gz" +checksum=5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd + +pre_build() { + cat > setup.cfg <<-EOF + [global] + have_sys_un_h = False + skip_check_zmq = True + EOF + + # remove bundled libraries + rm -rf bundled + + # remove shebangs + find zmq/eventloop/minitornado -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} + +} + +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 + } +} diff --git a/srcpkgs/python3.4-pyzmq b/srcpkgs/python3.4-pyzmq new file mode 120000 index 00000000000..f908dd6b61b --- /dev/null +++ b/srcpkgs/python3.4-pyzmq @@ -0,0 +1 @@ +python-pyzmq \ No newline at end of file