python3-Sphinx: update to 2.4.0.

This commit is contained in:
Đoàn Trần Công Danh 2020-02-10 17:54:08 +07:00 committed by Piotr
parent 1ba3517daa
commit b2d5c4762a
2 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2020-02-10 15:29:43.296312199 +0700
+++ setup.py 2020-02-10 15:29:53.988279685 +0700
@@ -42,7 +42,7 @@
'sphinxcontrib-websupport',
],
'test': [
- 'pytest < 5.3.3',
+ 'pytest',
'pytest-cov',
'html5lib',
'flake8>=3.5.0',

View File

@ -1,11 +1,10 @@
# Template file for 'python3-Sphinx' # Template file for 'python3-Sphinx'
pkgname=python3-Sphinx pkgname=python3-Sphinx
version=2.3.1 version=2.4.0
revision=1 revision=1
archs=noarch archs=noarch
wrksrc=Sphinx-${version} wrksrc=Sphinx-${version}
build_style=python3-module build_style=python3-module
pycompile_module=sphinx
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-Jinja2 python3-docutils python3-Pygments depends="python3-Jinja2 python3-docutils python3-Pygments
python3-snowballstemmer python3-Babel python3-alabaster python3-imagesize python3-snowballstemmer python3-Babel python3-alabaster python3-imagesize
@ -13,18 +12,23 @@ depends="python3-Jinja2 python3-docutils python3-Pygments
python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp
python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp
python3-sphinxcontrib-serializinghtml" python3-sphinxcontrib-serializinghtml"
checkdepends="$depends python3-html5lib python3-mypy ImageMagick tox"
short_desc="Python 3 documentation generator" short_desc="Python 3 documentation generator"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>" maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="http://sphinx-doc.org" homepage="http://sphinx-doc.org"
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz" distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
checksum=e6e766b74f85f37a5f3e0773a1e1be8db3fcb799deb58ca6d18b70b0b44542a5 checksum=fb2ce74c28154872757925edda0060b4c4102cdc86b8b30063f23399678de2ca
alternatives=" alternatives="
sphinx:sphinx-apidoc:/usr/bin/sphinx-apidoc3 sphinx:sphinx-apidoc:/usr/bin/sphinx-apidoc3
sphinx:sphinx-autogen:/usr/bin/sphinx-autogen3 sphinx:sphinx-autogen:/usr/bin/sphinx-autogen3
sphinx:sphinx-build:/usr/bin/sphinx-build3 sphinx:sphinx-build:/usr/bin/sphinx-build3
sphinx:sphinx-quickstart:/usr/bin/sphinx-quickstart3" sphinx:sphinx-quickstart:/usr/bin/sphinx-quickstart3"
do_check() {
tox -e py${py3_ver/./}
}
post_install() { post_install() {
mv ${DESTDIR}/usr/bin/sphinx-apidoc ${DESTDIR}/usr/bin/sphinx-apidoc3 mv ${DESTDIR}/usr/bin/sphinx-apidoc ${DESTDIR}/usr/bin/sphinx-apidoc3
mv ${DESTDIR}/usr/bin/sphinx-autogen ${DESTDIR}/usr/bin/sphinx-autogen3 mv ${DESTDIR}/usr/bin/sphinx-autogen ${DESTDIR}/usr/bin/sphinx-autogen3