From c9424809a3f61882a9bd1c00ade1225c0e3bd7df Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 16 Feb 2021 11:46:59 -0500 Subject: [PATCH] python3-uvloop: update to 0.15.1. --- srcpkgs/python3-uvloop/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-uvloop/template b/srcpkgs/python3-uvloop/template index 3f62151b2e4..33f683a9f36 100644 --- a/srcpkgs/python3-uvloop/template +++ b/srcpkgs/python3-uvloop/template @@ -1,19 +1,23 @@ # Template file for 'python3-uvloop' pkgname=python3-uvloop -version=0.15.0 +version=0.15.1 revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-module hostmakedepends="python3 python3-setuptools python3-Cython" makedepends="libuv-devel python3-devel" -checkdepends="flake8 python3-openssl python3-psutil" +checkdepends="flake8 python3-pytest python3-openssl python3-psutil" depends="python3" short_desc="Fast replacement for Python asyncio event loop" maintainer="Andrew J. Hesford " license="Apache-2.0, MIT" homepage="https://github.com/MagicStack/uvloop" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=2586ff9a081c4cbcc2e016e01d2ea343d3d510a09ff1975a151530bcc19e0ce3 +checksum=a0aff7b8ca46b07c50f243a408351de05f731413acc37b9c25c560af824b08f5 + +do_check() { + PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k 'not Test_UV_TCPSSL' +} post_patch() { cat <<-EOF >> setup.cfg