summaryrefslogtreecommitdiff
path: root/app-text/dblatex/files/dblatex-0.3.11-setup.patch
blob: 802030118398a2275936ee655fc2a9fb5e57242c (plain)
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
diff -Naur dblatex-0.3.11py3/setup.py dblatex-0.3.11py3-new/setup.py
--- dblatex-0.3.11py3/setup.py	2020-01-29 13:48:34.000000000 -0800
+++ dblatex-0.3.11py3-new/setup.py	2020-02-27 20:25:21.669297793 -0800
@@ -26,7 +26,6 @@
 from distutils import log
 from subprocess import Popen, PIPE
 sys.path.append("lib")
-from contrib.debian.installer import DebianInstaller
 
 #
 # Build the command line script
@@ -192,7 +191,7 @@
         log.info("running build_doc")
         htmldir = os.path.join("docs", "xhtml")
         pdfdocs = glob.glob(os.path.join("docs", "[mr]*.pdf"))
-        manpage = os.path.join("docs", "manpage", "dblatex.1.gz")
+        manpage = os.path.join("docs", "manpage", "dblatex.1")
 
         # Lazy check to avoid a rebuild for nothing
         if (not(self.force) and os.path.exists(htmldir) and len(pdfdocs) >= 2
@@ -368,15 +367,12 @@
                 status += "no"
                 mis_stys.append(sty)
             print(status)
-            
+
         if mis_stys:
             raise OSError("not found: %s" % ", ".join(mis_stys))
 
     def run(self):
-        if self.install_layout == "deb":
-            db = DebianInstaller(self)
-        else:
-            db = None
+        db = None
 
         if not(db) and not(self.nodeps):
             try:
@@ -515,7 +511,7 @@
         data_files=[('share/dblatex', ['xsl', 'latex', 'etc/schema']),
                     ('share/doc/dblatex', pdfdocs),
                     ('share/doc/dblatex', htmldoc),
-                    ('share/man/man1', ['docs/manpage/dblatex.1.gz'])],
+                    ('share/man/man1', ['docs/manpage/dblatex.1'])],
         scripts=['scripts/dblatex'],
         cmdclass={'build': Build,
                   'build_scripts': BuildScripts,