Unverified Commit 2a09c462 authored by prspkt's avatar prspkt

testing/py3-blessings: modernize

* Add checkdepends and run test suite.
parent 8b203561
......@@ -4,23 +4,25 @@ pkgname=py3-blessings
_pkgname=blessings
pkgver=1.7
pkgrel=2
pkgdesc="Wrapper around terminal coloring, styling and positioning"
pkgdesc="Python library for terminal coloring, styling and positioning"
url="https://github.com/erikrose/blessings"
arch="noarch"
license="MIT"
depends="py3-six"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
nosetests build/lib
}
package() {
cd "$builddir"
python3 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