mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/py-parsedatetime: add check
This commit is contained in:
parent
bf2e352cb7
commit
0427d2932c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user