python3-cli_helpers: update to 2.2.1.
This commit is contained in:
parent
d7e6b86ba5
commit
40028c9e34
|
@ -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'
|
# Template file for 'python3-cli_helpers'
|
||||||
pkgname=python3-cli_helpers
|
pkgname=python3-cli_helpers
|
||||||
version=1.2.1
|
version=2.2.1
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc="cli_helpers-${version}"
|
wrksrc="cli_helpers-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="cli_helpers"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-configobj python3-tabulate python3-terminaltables
|
depends="python3-configobj python3-tabulate"
|
||||||
python3-wcwidth"
|
|
||||||
checkdepends="python3-pytest ${depends}"
|
checkdepends="python3-pytest ${depends}"
|
||||||
short_desc="Python helpers for building command-line apps"
|
short_desc="Python helpers for building command-line apps"
|
||||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/dbcli/cli_helpers"
|
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"
|
distfiles="${PYPI_SITE}/c/cli_helpers/cli_helpers-${version}.tar.gz"
|
||||||
checksum=98db22eaa86827d99ee6af9f5f3923142d04df256425204530842b032849a165
|
checksum=0ccc1cfcda1ac64dc7ed83d7013055cf19e5979d29e56c21f3b692de01555aae
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 -m pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in a new issue