python3-Sphinx: update to 3.1.2.

This commit is contained in:
Đoàn Trần Công Danh 2020-07-10 20:53:07 +07:00
parent d4aa2bbe57
commit 5214737bac

View file

@ -1,6 +1,6 @@
# Template file for 'python3-Sphinx'
pkgname=python3-Sphinx
version=3.1.1
version=3.1.2
revision=1
archs=noarch
wrksrc=Sphinx-${version}
@ -19,21 +19,13 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause"
homepage="http://sphinx-doc.org"
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
checksum=74fbead182a611ce1444f50218a1c5fc70b6cc547f64948f5182fb30a2a20258
alternatives="
sphinx:sphinx-apidoc:/usr/bin/sphinx-apidoc3
sphinx:sphinx-autogen:/usr/bin/sphinx-autogen3
sphinx:sphinx-build:/usr/bin/sphinx-build3
sphinx:sphinx-quickstart:/usr/bin/sphinx-quickstart3"
checksum=b9daeb9b39aa1ffefc2809b43604109825300300b987a24f45976c001ba1a8fd
conflicts="python-Sphinx>=0"
do_check() {
PYTHONPATH=$(pwd)/build/lib pytest
}
post_install() {
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-build ${DESTDIR}/usr/bin/sphinx-build3
mv ${DESTDIR}/usr/bin/sphinx-quickstart ${DESTDIR}/usr/bin/sphinx-quickstart3
vlicense LICENSE
}