Package: pagekite / 1.5.0.191126-1

003-manpage-no-ver-in-whatis.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Drop version number from generated whatis manual page entry.
 The whatis entry should only have the command name, the version number
 belong elsewhere in the manual page.
Author: Petter Reinholdtsen <pere@hungry.com>

--- a/pagekite/manual.py
+++ b/pagekite/manual.py
@@ -535,7 +535,7 @@
 
 def MINIDOC():
   return ("""\
->>> Welcome to pagekite.py v%s!
+>>> Welcome to pagekite.py!
 
 %s
     To sign up with PageKite.net or get advanced instructions:
@@ -545,7 +545,7 @@
     If you request a kite which does not exist in your configuration file,
     the program will offer to help you sign up with https://pagekite.net/
     and create it.  Pick a name, any name!\
-""") % (APPVER, clean_text(MAN_EXAMPLES))
+""") % (clean_text(MAN_EXAMPLES))
 
 
 def DOC():