diff --git a/srcpkgs/python3-cli_helpers/patches/use-python3-mock-on-tests.patch b/srcpkgs/python3-cli_helpers/patches/use-python3-mock-on-tests.patch deleted file mode 100644 index 7af8c9d240..0000000000 --- a/srcpkgs/python3-cli_helpers/patches/use-python3-mock-on-tests.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git tests/test_config.py tests/test_config.py -index 3cbe211..4d2bc77 100644 ---- a/tests/test_config.py -+++ b/tests/test_config.py -@@ -4,7 +4,7 @@ - from __future__ import unicode_literals - import os - --from mock import MagicMock -+from unittest.mock import MagicMock - import pytest - - from cli_helpers.compat import MAC, text_type, WIN diff --git a/srcpkgs/python3-cli_helpers/template b/srcpkgs/python3-cli_helpers/template index a6b29fa020..aa084c626c 100644 --- a/srcpkgs/python3-cli_helpers/template +++ b/srcpkgs/python3-cli_helpers/template @@ -1,24 +1,19 @@ # Template file for 'python3-cli_helpers' pkgname=python3-cli_helpers -version=1.2.1 -revision=4 +version=2.2.1 +revision=1 wrksrc="cli_helpers-${version}" build_style=python3-module -pycompile_module="cli_helpers" hostmakedepends="python3-setuptools" -depends="python3-configobj python3-tabulate python3-terminaltables - python3-wcwidth" +depends="python3-configobj python3-tabulate" checkdepends="python3-pytest ${depends}" short_desc="Python helpers for building command-line apps" maintainer="Aluísio Augusto Silva Gonçalves " license="BSD-3-Clause" homepage="https://github.com/dbcli/cli_helpers" +changelog="https://raw.githubusercontent.com/dbcli/cli_helpers/main/CHANGELOG" distfiles="${PYPI_SITE}/c/cli_helpers/cli_helpers-${version}.tar.gz" -checksum=98db22eaa86827d99ee6af9f5f3923142d04df256425204530842b032849a165 - -do_check() { - python3 -m pytest -} +checksum=0ccc1cfcda1ac64dc7ed83d7013055cf19e5979d29e56c21f3b692de01555aae post_install() { vlicense LICENSE