Commit 0427d293 authored by Roberto Oliveira's avatar Roberto Oliveira

community/py-parsedatetime: add check

parent bf2e352c
......@@ -3,7 +3,7 @@
pkgname=py-parsedatetime
_pkgname=parsedatetime
pkgver=2.4
pkgrel=1
pkgrel=2
pkgdesc="Parse human-readable date/time strings"
url="https://github.com/bear/parsedatetime"
arch="noarch"
......@@ -18,6 +18,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