File: python3

package info (click to toggle)
dvisvgm 3.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,008 kB
  • sloc: cpp: 80,827; ansic: 31,385; makefile: 875; xml: 193; python: 177; sh: 103
file content (28 lines) | stat: -rw-r--r-- 952 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
Replace python by python3 in Makfiles.
---
 src/Makefile.am   |    2 +-
 tests/Makefile.am |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

--- dvisvgm_30.orig/src/Makefile.am
+++ dvisvgm_30/src/Makefile.am
@@ -211,7 +211,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_30.orig/tests/Makefile.am
+++ dvisvgm_30/tests/Makefile.am
@@ -50,7 +50,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)