python-pyzmq: update to 14.6.0
This commit is contained in:
parent
ec76dbe46e
commit
e8f5beb5fb
1 changed files with 5 additions and 8 deletions
|
@ -1,31 +1,28 @@
|
||||||
# Template file for 'python-pyzmq'
|
# Template file for 'python-pyzmq'
|
||||||
pkgname=python-pyzmq
|
pkgname=python-pyzmq
|
||||||
version=14.5.0
|
version=14.6.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pyzmq-${version}"
|
wrksrc="pyzmq-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
|
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="pkg-config python-devel python3.4-devel zeromq-devel"
|
hostmakedepends="pkg-config python-devel python3.4-devel python-Cython
|
||||||
|
python3.4-Cython zeromq-devel"
|
||||||
makedepends="${hostmakedepends/pkg-config/}"
|
makedepends="${hostmakedepends/pkg-config/}"
|
||||||
pycompile_module="zmq"
|
pycompile_module="zmq"
|
||||||
short_desc="Python2 bindings for the ZeroMQ messaging library"
|
short_desc="Python2 bindings for the ZeroMQ messaging library"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/zeromq/pyzmq"
|
homepage="https://github.com/zeromq/pyzmq"
|
||||||
license="LGPL-3, 3-clause-BSD"
|
license="LGPL-3, 3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/p/pyzmq/pyzmq-${version}.tar.gz"
|
distfiles="https://github.com/zeromq/pyzmq/archive/v${version}.tar.gz"
|
||||||
checksum=5d6e045634456cf5496f50871fd3e3a5ede2b90433284dbfe985bb67c97f77bd
|
checksum=a97ead57ef45db59a74dc8fe7c69f1593540d83f729743dd022775fe61faa530
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cat > setup.cfg <<-EOF
|
cat > setup.cfg <<-EOF
|
||||||
[global]
|
[global]
|
||||||
have_sys_un_h = False
|
|
||||||
skip_check_zmq = True
|
skip_check_zmq = True
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# remove bundled libraries
|
|
||||||
rm -rf bundled
|
|
||||||
|
|
||||||
# remove shebangs
|
# remove shebangs
|
||||||
find zmq/eventloop/minitornado -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
|
find zmq/eventloop/minitornado -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue