Debian Codegraph @

debian/patches/0001-Drop-unneeded-LICENSE_zstd.txt-from-package.patch

raw symbols SCIP
1 From: YOKOTA Hiroshi <[email protected]>
2 Date: Mon, 15 Dec 2025 18:07:44 +0900
3 Subject: Drop unneeded LICENSE_zstd.txt from package
4
5 Forwarded: not-needed
6 ---
7 setup.py | 10 ----------
8 1 file changed, 10 deletions(-)
9
10 diff --git a/setup.py b/setup.py
11 index d66ec8a..d9326aa 100644
12 --- a/setup.py
13 +++ b/setup.py
14 @@ -10,17 +10,7 @@ if not ((3, 10) <= sys.version_info < (3, 14)):
15 raise RuntimeError(f"Unsupported Python version: {sys.version}")
16
17
18 -# create a LICENSE_zstd.txt file
19 -# wheels distributions needs to ship the license of the zstd library
20 ROOT_PATH = Path(__file__).parent.absolute()
21 -with (ROOT_PATH / "LICENSE_zstd.txt").open("w") as f:
22 - f.write(
23 - "Depending on how it is built, this package may distribute the zstd library,\n"
24 - "partially or in its integrality, in source or binary form.\n\n"
25 - "Its license is reproduced below.\n\n"
26 - "---\n\n"
27 - )
28 - f.write((ROOT_PATH / "src" / "c" / "zstd" / "LICENSE").read_text())
29
30
31 UnixCCompiler.src_extensions.append(".S")