File: fix_pydoctor_input.patch

package info (click to toggle)
subvertpy 0.11.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 904 kB
  • sloc: ansic: 9,170; python: 6,395; makefile: 59; sh: 10
file content (48 lines) | stat: -rw-r--r-- 1,600 bytes parent folder | 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description: Fix pydoctor input file and command line
Bug-Debian: https://bugs.debian.org/1009423
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 19 Apr 2024 10:15:54 +0200

Index: svp/subvertpy.cfg
===================================================================
--- svp.orig/subvertpy.cfg
+++ svp/subvertpy.cfg
@@ -1,5 +1,7 @@
-packages: subvertpy
-docformat: restructuredtext
-projectname: subvertpy
-projecturl: https://jelmer.uk/subvertpy/
-htmloutput: apidocs
+# subvertpy.cfg (TOML format)
+packages = "subvertpy"
+docformat = "restructuredtext"
+projectname = "subvertpy"
+projecturl = "https://jelmer.uk/subvertpy/"
+htmloutput = "apidocs"
+
Index: svp/Makefile
===================================================================
--- svp.orig/Makefile
+++ svp/Makefile
@@ -41,7 +41,7 @@ clean::
 	rm -f subvertpy/*.so subvertpy/*.o subvertpy/*.pyc
 
 pydoctor:
-	$(PYDOCTOR) $(PYDOCTOR_OPTIONS) --introspect-c-modules -c subvertpy.cfg --make-html
+	$(PYDOCTOR) $(PYDOCTOR_OPTIONS) --introspect-c-modules -c subvertpy.cfg --make-html subvertpy
 
 style:
 	$(RUFF) check
Index: svp/subvertpy/server.py
===================================================================
--- svp.orig/subvertpy/server.py
+++ svp/subvertpy/server.py
@@ -60,7 +60,7 @@ class ServerRepositoryBackend(object):
         """Stat a path.
 
         Should return a dictionary with the following keys: name, kind, size,
-            has-props, created-rev, created-date, last-author.
+        has-props, created-rev, created-date, last-author.
         """
         raise NotImplementedError(self.stat)