From 5bf9fba60ccb658d9b5801827e77118a9fe64328 Mon Sep 17 00:00:00 2001 From: Pulux Date: Sat, 4 Dec 2021 21:02:44 +0100 Subject: [PATCH] python3-Pyro4: update to 4.82. --- srcpkgs/python3-Pyro4/template | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-Pyro4/template b/srcpkgs/python3-Pyro4/template index 401d2ce3046a..1da9575ee79a 100644 --- a/srcpkgs/python3-Pyro4/template +++ b/srcpkgs/python3-Pyro4/template @@ -1,20 +1,30 @@ # Template file for 'python3-Pyro4' pkgname=python3-Pyro4 -version=4.80 -revision=4 +version=4.82 +revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-setuptools python3-serpent" +checkdepends="python3-serpent python3-Pyro4" short_desc="Distributed Object Middleware (IPC/RPC) for Python3" maintainer="pulux " license="MIT" -homepage="https://pythonhosted.org/Pyro4/" +homepage="https://pyro4.readthedocs.io" distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz" -checksum=46847ca703de3f483fbd0b2d22622f36eff03e6ef7ec7704d4ecaa3964cb2220 +checksum=511f5b0804e92dd77dc33adf9c947787e3f9e9c5a96b12162f0557a7c4ce21fb conflicts="python-Pyro4>=0" +do_check() { + # Tests depend on python3-dill and python3-cloudpickle, which aren't packaged jet + rm -f tests/PyroTests/test_daemon.py tests/PyroTests/test_serialize.py + # Tests can't get addr + rm -f tests/PyroTests/test_naming.py tests/PyroTests/test_naming2.py + rm -f tests/PyroTests/test_socket.py tests/PyroTests/test_util.py + PYTHONPATH=src python3 -E -Wall -tt -bb tests/run_testsuite.py +} + post_install() { vlicense LICENSE }