diff --git a/community/py-parsedatetime/APKBUILD b/community/py-parsedatetime/APKBUILD index ede6e686358..7f970c59ee8 100644 --- a/community/py-parsedatetime/APKBUILD +++ b/community/py-parsedatetime/APKBUILD @@ -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"