diff options
-rw-r--r-- | user/py3-sphinx/APKBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/user/py3-sphinx/APKBUILD b/user/py3-sphinx/APKBUILD index c8606a2fe..df79f3b9b 100644 --- a/user/py3-sphinx/APKBUILD +++ b/user/py3-sphinx/APKBUILD @@ -4,8 +4,8 @@ pkgname=py3-sphinx _pkgname=Sphinx _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" -pkgver=2.0.0 -pkgrel=1 +pkgver=2.1.2 +pkgrel=0 pkgdesc="Sphinx Python Documentation Generator" url="https://pypi.python.org/pypi/Sphinx" arch="noarch" @@ -19,24 +19,19 @@ source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/ builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" # settings borrowed from tox.ini. PYTHONPATH="build/lib:$PYTHONPATH" PYTHONWARNINGS="all,ignore::ImportWarning:pkgutil,ignore::ImportWarning:importlib._bootstrap,ignore::ImportWarning:importlib._bootstrap_external,ignore::ImportWarning:pytest_cov.plugin,ignore::DeprecationWarning:site,ignore::DeprecationWarning:_pytest.assertion.rewrite,ignore::DeprecationWarning:_pytest.fixtures,ignore::DeprecationWarning:distutils" pytest --durations 25 } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } doc() { - cd "$builddir" - local docdir="$subpkgdir/usr/share/doc/$pkgname" mkdir -p "$docdir" cp -R docs/* "$docdir" @@ -48,4 +43,4 @@ doc() { cp licenses/* "$licdir" } -sha512sums="283e18514262366e0aebc23f1e48ce7fa3591e48572525c832f96ec4f943463e19904c67ab06a4b3244119750c63dc496d4a4142e1e4a55e0b4ebdc748cf6aa6 py3-sphinx-2.0.0.tar.gz" +sha512sums="22696cd143b75c497c36e08b81b10981e80ad10a4f9f42a29165bfed18bacbc33dc2f477926fe795faf9918dce9d283cd1acf03f7289bd50fa93a86e7979d9f1 py3-sphinx-2.1.2.tar.gz" |