python3-cli_helpers: update to 2.2.1.
This commit is contained in:
parent
d7e6b86ba5
commit
40028c9e34
2 changed files with 5 additions and 23 deletions
|
@ -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
|
|
@ -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 <aluisio@aasg.name>"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue