void-packages/srcpkgs/python-pyzmq/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

32 lines
897 B
Bash

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