Skip to content
Snippets Groups Projects
Commit 276ea5fb authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/py-cli_helpers: fix dependencies and enable tests

parent 4ffd88e2
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,14 @@
pkgname=py-cli_helpers
_pkgname=cli_helpers
pkgver=1.0.2
pkgrel=0
pkgrel=1
pkgdesc="A helper library for command-line interfaces"
url="https://pypi.python.org/pypi/cli-helpers"
arch="noarch"
license="BSD"
depends="py-terminaltables py-backports-csv"
depends="py-terminaltables py-backports-csv py-tabulate"
makedepends="python2-dev py-setuptools python3-dev"
checkdepends="pytest py-wcwidth"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
......@@ -18,6 +19,8 @@ check() {
cd "$builddir"
python2 setup.py check
python3 setup.py check
py.test-2
py.test-3
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment