New package: python3-cli_helpers-1.2.0
This commit is contained in:
parent
856608c5ea
commit
56b5efeed4
2 changed files with 39 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
diff --git tests/test_config.py tests/test_config.py
|
||||
index 3cbe211..4d2bc77 100644
|
||||
--- tests/test_config.py
|
||||
+++ 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
|
26
srcpkgs/python3-cli_helpers/template
Normal file
26
srcpkgs/python3-cli_helpers/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'python3-cli_helpers'
|
||||
pkgname=python3-cli_helpers
|
||||
version=1.2.0
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="cli_helpers-${version}"
|
||||
build_style=python3-module
|
||||
pycompile_module="cli_helpers"
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-configobj python3-tabulate python3-terminaltables
|
||||
python3-wcwidth"
|
||||
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"
|
||||
distfiles="${PYPI_SITE}/c/cli_helpers/cli_helpers-${version}.tar.gz"
|
||||
checksum=d211192b4d5a61de0020c516213ba67bbf1662ccd8c0624e6696dedb1a9d3e5d
|
||||
|
||||
do_check() {
|
||||
python3 -m pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue