From 6cb0296e8737aba76585aaa033e0a252ce1a1456 Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Fri, 20 May 2022 21:30:30 -0400 Subject: [PATCH] python3-utils: update to 3.3.3. --- srcpkgs/python3-utils/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-utils/template b/srcpkgs/python3-utils/template index a4db83649ac7..73cd0e8fee3d 100644 --- a/srcpkgs/python3-utils/template +++ b/srcpkgs/python3-utils/template @@ -1,11 +1,11 @@ # Template file for 'python3-utils' pkgname=python3-utils -version=3.1.0 +version=3.3.3 revision=1 wrksrc="python-utils-${version}" build_style=python3-module # skip coverage and mypy tests https://github.com/WoLpH/python-utils/issues/29 -make_check_args="-o addopts=--doctest-modules" +make_check_args="-o addopts=--doctest-modules --ignore-glob=test_logger* --ignore-glob=loguru*" hostmakedepends="python3-setuptools" checkdepends="python3-pytest python3-pytest-asyncio" short_desc="Convenient utilities not included with the standard Python3 install" @@ -13,8 +13,12 @@ maintainer="Karl Nilsson " license="BSD-3-Clause" homepage="https://github.com/WoLpH/python-utils" distfiles="https://github.com/WoLpH/python-utils/archive/v${version}.tar.gz" -checksum=6f20e784af79dd0f2c330c88496b3d08fa29e27bcfba398ba78f73d8ae85f670 +checksum=aae5bbe0737dadb8ac73bc631a59d4c822a1c52296dbff1ad255d54119b178b0 post_install() { vlicense LICENSE } + +pre_check() { + msg_warn "python3 -m pytest ${testjobs} ${make_check_args} ${make_check_target}\n" +}