File: python3

package info (click to toggle)
dvisvgm 3.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,044 kB
  • sloc: cpp: 82,351; ansic: 34,587; makefile: 932; xml: 201; python: 177; sh: 99
file content (31 lines) | stat: -rw-r--r-- 1,075 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
Description: Replace python by python3 in Makfiles.
Forwarded: not-needed
Origin: Debian author.
Author: Norbert Preining <norbert@preining.info>
---
 src/Makefile.am   |    2 +-
 tests/Makefile.am |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

--- dvisvgm-3.6+ds.orig/src/Makefile.am
+++ dvisvgm-3.6+ds/src/Makefile.am
@@ -235,7 +235,7 @@
 # the command-line parser class is generated from options.xml by opt2cpp
 $(srcdir)/CommandLine.hpp: options.xml
 	rm -f $@
-	python $(srcdir)/opt2cpp.py $< >$@
+	python3 $(srcdir)/opt2cpp.py $< >$@
 
 # Create a C string definition containing the PostScript routines psdefs.ps needed by class PSInterpreter
 $(srcdir)/psdefs.cpp: psdefs.ps
--- dvisvgm-3.6+ds.orig/tests/Makefile.am
+++ dvisvgm-3.6+ds/tests/Makefile.am
@@ -44,7 +44,7 @@
 hashcheck_LDADD = $(LIBS_LIBS)
 
 hashcheck.cpp: genhashcheck.py $(dvisvgm_srcdir)/src/AGLTable.hpp $(dvisvgm_srcdir)/libs/xxHash/xxhash.h
-	python $^ >$@
+	python3 $^ >$@
 
 TESTLIBS = libgtest.la ../src/libdvisvgm.la $(LIBS_LIBS) -lfreetype
 TESTLIBS += $(CODE_COVERAGE_LDFLAGS)