diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-08-09 06:39:16 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-08-09 06:39:16 +0000 |
commit | bf991b73d931fa630bdab4437dcad8c22d8cbb1f (patch) | |
tree | 73709b3f8fb098021a95cab20280f14288edb4c8 | |
parent | 20316de9dae6a88bee10cd9a1b383fb70870b67d (diff) | |
download | aports-bf991b73d931fa630bdab4437dcad8c22d8cbb1f.tar.bz2 aports-bf991b73d931fa630bdab4437dcad8c22d8cbb1f.tar.xz |
testing/py-sphinxcontrib-websupport: added check(), modernize APKBUILD
-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() { |