python-pyzmq: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
8e65dd4c60
commit
dcad308b38
2 changed files with 13 additions and 8 deletions
|
@ -1,14 +1,13 @@
|
|||
# Template file for 'python-pyzmq'
|
||||
pkgname=python-pyzmq
|
||||
version=15.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="pyzmq-${version}"
|
||||
build_style=python-module
|
||||
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="zmq"
|
||||
hostmakedepends="pkg-config python-devel python3.4-devel python-Cython
|
||||
python3.4-Cython zeromq-devel"
|
||||
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>"
|
||||
|
@ -24,11 +23,16 @@ pre_build() {
|
|||
EOF
|
||||
}
|
||||
|
||||
python3.4-pyzmq_package() {
|
||||
pycompile_version="3.4"
|
||||
python3-pyzmq_package() {
|
||||
pycompile_module="zmq"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-pyzmq>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
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}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-pyzmq
Symbolic link
1
srcpkgs/python3-pyzmq
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-pyzmq
|
Loading…
Reference in a new issue