Files
nixpkgs/pkgs/development/python-modules/kaitaistruct/01-add-kaitai-compress.patch
T
magicquark 2d56b80ce3 python3Packages.kaitaistruct: 0.10 -> 0.11
- Release:
https://github.com/kaitai-io/kaitai_struct_python_runtime/releases/tag/v0.11

- Changes:
https://github.com/kaitai-io/kaitai_struct_python_runtime/compare/0.10...v0.11

- Resolves:
https://github.com/NixOS/nixpkgs/issues/442639

- Notes on `mitmproxy`:
  - 'mitmproxy' locks this package to v0.10.
  - To keep the package working, added 'kaitaistruct' to 'relaxedPythonDeps'.
  - The 'mitmproxy' tests still pass with this change.

- Notes on patches:
  - The `sed` command is brittle as the line number to insert the
    package definition for `kaitai-compress` to can change between
    versions.
  - To make it more robust, a patch file has been added.
2025-09-15 23:53:10 +01:00

12 lines
288 B
Diff

diff --git a/setup.cfg b/setup.cfg
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,6 +30,7 @@ classifiers =
[options]
zip_safe = True
include_package_data = True
+packages = kaitai/compress
py_modules = kaitaistruct
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
install_requires =