summaryrefslogtreecommitdiff
path: root/debian/patches/deb-locations.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-09-29 13:40:02 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-09-29 13:40:02 +0300
commit424a50000a78fff715de4417dba9b4498aeeee4c (patch)
treed27f003c7d140fef24efd1b2ca1325ae099154b9 /debian/patches/deb-locations.diff
downloadpython3.5-debian.tar.gz
Imported python3.5 3.5.4-4debian/3.5.4-4debian
Diffstat (limited to 'debian/patches/deb-locations.diff')
-rw-r--r--debian/patches/deb-locations.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/deb-locations.diff b/debian/patches/deb-locations.diff
new file mode 100644
index 0000000..22e4c47
--- /dev/null
+++ b/debian/patches/deb-locations.diff
@@ -0,0 +1,30 @@
+# DP: adjust locations of directories to debian policy
+
+Index: b/Lib/pydoc.py
+===================================================================
+--- a/Lib/pydoc.py
++++ b/Lib/pydoc.py
+@@ -28,6 +28,10 @@ to a file named "<name>.html".
+
+ Module docs for core modules are assumed to be in
+
++ /usr/share/doc/pythonX.Y/html/library
++
++if the pythonX.Y-doc package is installed or in
++
+ https://docs.python.org/X.Y/library/
+
+ This can be overridden by setting the PYTHONDOCS environment variable
+Index: b/Misc/python.man
+===================================================================
+--- a/Misc/python.man
++++ b/Misc/python.man
+@@ -326,7 +326,7 @@ exception). Error messages are written
+ These are subject to difference depending on local installation
+ conventions; ${prefix} and ${exec_prefix} are installation-dependent
+ and should be interpreted as for GNU software; they may be the same.
+-The default for both is \fI/usr/local\fP.
++On Debian GNU/{Hurd,Linux} the default for both is \fI/usr\fP.
+ .IP \fI${exec_prefix}/bin/python\fP
+ Recommended location of the interpreter.
+ .PP