dcad308b38
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'python-pyzmq'
|
|
pkgname=python-pyzmq
|
|
version=15.4.0
|
|
revision=2
|
|
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=fee198e7188048a052ec9a806afa42d7db50d0130b0e9cf082e202cdbfc7452f
|
|
|
|
pre_build() {
|
|
cat > setup.cfg <<-EOF
|
|
[global]
|
|
skip_check_zmq = True
|
|
EOF
|
|
}
|
|
|
|
python3-pyzmq_package() {
|
|
pycompile_module="zmq"
|
|
replaces="python3.4-pyzmq>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
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}"
|
|
}
|