File: 0001-Specify-python-module-version-for-litian4py-warning.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 (24 lines) | stat: -rw-r--r-- 714 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
From: Mitsuya Shibata <mty.shibata@gmail.com>
Date: Sun, 17 Nov 2013 18:46:47 +0900
Subject: Specify python module version for litian4py warning

This is pointed out by the following comment:

 https://bugs.debian.org/714734#68

Last-Update: 2025-09-16
---
 bindings/python3/setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bindings/python3/setup.py b/bindings/python3/setup.py
index da94821..ac7080f 100644
--- a/bindings/python3/setup.py
+++ b/bindings/python3/setup.py
@@ -6,5 +6,6 @@ marisa_module = Extension("_marisa",
                           libraries=["marisa"])
 
 setup(name = "marisa",
+      version = "__version__",
       ext_modules = [marisa_module],
       py_modules = ["marisa"])