diff options
Diffstat (limited to 'community/py3-pyrfc3339/APKBUILD')
-rw-r--r-- | community/py3-pyrfc3339/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/community/py3-pyrfc3339/APKBUILD b/community/py3-pyrfc3339/APKBUILD index b616217a1a..dcd04589ea 100644 --- a/community/py3-pyrfc3339/APKBUILD +++ b/community/py3-pyrfc3339/APKBUILD @@ -3,13 +3,14 @@ pkgname=py3-pyrfc3339 _pkgname=pyRFC3339 pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Generate and parse RFC 3339 timestamps" url="https://pypi.python.org/pypi/pyRFC3339" arch="noarch" license="MIT" depends="py3-tz" 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" @@ -20,6 +21,10 @@ build() { python3 setup.py build } +check() { + nosetests +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } |