Commit 0df3cb03 authored by Roberto Oliveira's avatar Roberto Oliveira

testing/py-blessings: add check

parent 524252e0
......@@ -3,8 +3,8 @@
pkgname=py-blessings
_pkgname=blessings
pkgver=1.6.1
pkgrel=0
pkgdesc="A Python wrapper around terminal coloring, styling, and positioning"
pkgrel=1
pkgdesc="A Python wrapper around terminal coloring, styling and positioning"
url="https://github.com/erikrose/blessings"
arch="noarch"
license="MIT"
......@@ -19,6 +19,11 @@ build() {
python2 setup.py build
}
check() {
cd "$builddir"
python2 setup.py test
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment