diff options
-rw-r--r-- | testing/py-sphinxcontrib-websupport/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/testing/py-sphinxcontrib-websupport/APKBUILD b/testing/py-sphinxcontrib-websupport/APKBUILD index cbe72dd870..7874e51ee0 100644 --- a/testing/py-sphinxcontrib-websupport/APKBUILD +++ b/testing/py-sphinxcontrib-websupport/APKBUILD @@ -2,7 +2,7 @@ pkgname=py-sphinxcontrib-websupport _pkgname=sphinxcontrib-websupport pkgver=1.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="Sphinx API for Web Apps" url="https://pypi.python.org/pypi/sphinxcontrib-websupport" arch="noarch" @@ -13,10 +13,16 @@ subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver +check() { + cd "$builddir" + python2 setup.py check + python3 setup.py check +} + build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build } package() { |