diff options
author | André Klitzing <aklitzing@gmail.com> | 2018-04-14 13:10:40 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-16 12:19:25 +0000 |
commit | a753caa0f4ee11f79729651adf53498b4737dc6c (patch) | |
tree | 57ff2ba3ca036a2bbd409f46879fdc32c551c96e /main/py-sphinx_rtd_theme | |
parent | 705d778b08c2b9032f998e53c3389742fcf5e41e (diff) | |
download | aports-a753caa0f4ee11f79729651adf53498b4737dc6c.tar.bz2 aports-a753caa0f4ee11f79729651adf53498b4737dc6c.tar.xz |
main/py-sphinx_rtd_theme: upgrade to 0.4.0
Diffstat (limited to 'main/py-sphinx_rtd_theme')
-rw-r--r-- | main/py-sphinx_rtd_theme/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/py-sphinx_rtd_theme/APKBUILD b/main/py-sphinx_rtd_theme/APKBUILD index 32ac3b1bc4..9ae6cda063 100644 --- a/main/py-sphinx_rtd_theme/APKBUILD +++ b/main/py-sphinx_rtd_theme/APKBUILD @@ -2,22 +2,28 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-sphinx_rtd_theme _pkgname=sphinx_rtd_theme -pkgver=0.2.4 +pkgver=0.4.0 pkgrel=0 pkgdesc="Sphinx theme for readthedocs.org" url="https://github.com/snide/sphinx_rtd_theme" arch="noarch" license="MIT" -depends="" makedepends="python2-dev python3-dev py-setuptools" +checkdepends="pytest" +options="!check" # readthedocs_ext is missing subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="$_pkgname-$pkgver.tar.gz::https://github.com/snide/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build +} + +check() { + cd "$builddir" + py.test } package() { @@ -43,4 +49,4 @@ _py() { $python setup.py install --prefix=/usr --root="$subpkgdir" } -sha512sums="05ad2ce1fbf395399d996f0b25dc170dda1b51c2fecbd937685b6364e27071b204d26edb8caff29ba2232eaa41b39f8c2e36566e5bc888f6e5537d7fc2bc168f sphinx_rtd_theme-0.2.4.tar.gz" +sha512sums="c54050b0e6f05d664ec1b7f65e5f4f93181f535b345ba91ff9ada73dfd1b9c4e1d549f7a159131e99332beab6914fb00f81d66a72fe69b3f1dfe78abee539ebe sphinx_rtd_theme-0.4.0.tar.gz" |