36 lines
950 B
Bash
36 lines
950 B
Bash
# Template file for 'python-pyzmq'
|
|
pkgname=python-pyzmq
|
|
version=19.0.0
|
|
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>"
|
|
license="LGPL-3.0-or-later, BSD-3-Clause"
|
|
homepage="https://pyzmq.readthedocs.io/"
|
|
distfiles="https://github.com/zeromq/pyzmq/archive/v${version}.tar.gz"
|
|
checksum=d197fc01dc67372066143e5e85dcd3a97ec759ceb76927b7de83cda05eb06006
|
|
|
|
pre_build() {
|
|
cat > setup.cfg <<-EOF
|
|
[global]
|
|
skip_check_zmq = True
|
|
EOF
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING.BSD
|
|
}
|
|
|
|
python3-pyzmq_package() {
|
|
pycompile_module="zmq"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|