Skip to content
Snippets Groups Projects
Commit c51e0ad4 authored by Dmitry Shachnev's avatar Dmitry Shachnev :penguin:
Browse files

Stop using alternatives, ship /usr/bin/sphinx-* symlinks directly.

parent 13fd7ebf
No related branches found
No related tags found
No related merge requests found
Pipeline #140924 passed
......@@ -3,6 +3,7 @@ sphinx (2.4.3-3) UNRELEASED; urgency=medium
* Break python3-sphinx-celery < 2.0.0 (closes: #958985).
* Export http_proxy=http://127.0.0.1:9/ when running the autopkgtest.
* Make autodoc skip mocked objects (closes: #959558).
* Stop using alternatives, ship /usr/bin/sphinx-* symlinks directly.
-- Dmitry Shachnev <mitya57@debian.org> Mon, 27 Apr 2020 20:33:11 +0300
......
......@@ -64,6 +64,7 @@ Suggests: dvipng,
Breaks: python3-breathe (<< 4.13),
python3-sphinx-celery (<< 2.0.0),
python3-sphinxcontrib.websupport (<< 1.1.2)
Conflicts: python-sphinx
Description: documentation generator for Python projects (implemented in Python 3)
Sphinx is a tool for producing documentation for Python projects, using
reStructuredText as markup language.
......
usr/share/sphinx/scripts/python3/sphinx-apidoc usr/bin/sphinx-apidoc
usr/share/sphinx/scripts/python3/sphinx-autogen usr/bin/sphinx-autogen
usr/share/sphinx/scripts/python3/sphinx-build usr/bin/sphinx-build
usr/share/sphinx/scripts/python3/sphinx-quickstart usr/bin/sphinx-quickstart
#!/bin/sh
set -e
if [ "$1" = configure ]
then
for exe in /usr/share/sphinx/scripts/python3/*
do
# --force is needed for upgrades from older versions which did not
# use the alternatives mechanism
update-alternatives --force --install /usr/bin/${exe##*/} ${exe##*/} $exe 30
done
fi
#DEBHELPER#
......@@ -2,7 +2,7 @@
set -e
if [ "$1" = remove ] || [ "$1" = deconfigure ]
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 2.4.3-3~
then
for exe in /usr/share/sphinx/scripts/python3/*
do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment