File: 0002-Do-not-build-legacy-python2-bindings.patch

package info (click to toggle)
marisa 0.3.1%2Bgit20250817-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,716 kB
  • sloc: cpp: 28,703; python: 492; perl: 371; ruby: 129; ansic: 111; makefile: 78; sh: 65
file content (28 lines) | stat: -rw-r--r-- 869 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
From: Boyuan Yang <byang@debian.org>
Date: Tue, 16 Sep 2025 16:46:18 -0400
Subject: Do not build legacy python2 bindings

See also https://github.com/s-yata/marisa-trie/issues/55
---
 bindings/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bindings/Makefile b/bindings/Makefile
index 8e12ba4..d1f4e2e 100644
--- a/bindings/Makefile
+++ b/bindings/Makefile
@@ -5,10 +5,10 @@ swig-perl:
 	mv marisa-swig_wrap.cxx perl
 	cp marisa-swig.cxx marisa-swig.h perl
 
-swig-python:
-	swig -Wall -c++ -python -outdir python marisa-swig.i
-	mv marisa-swig_wrap.cxx python
-	cp marisa-swig.cxx marisa-swig.h python
+#swig-python:
+#	swig -Wall -c++ -python -outdir python marisa-swig.i
+#	mv marisa-swig_wrap.cxx python
+#	cp marisa-swig.cxx marisa-swig.h python
 
 swig-python3:
 	swig -Wall -c++ -python -outdir python3 marisa-swig-python3.i