15
0
Files
python-cramjam/cramjam-opensuse-config.patch
Markéta Machová f62c9f72f9 - Update to 2.11.0
* Initial impl zero-copy Buffer by @milesgranger in #209
  * Buffer: Fix extended and negative int reads by @milesgranger in
    #210
  * Initial Type/JavaScript support by @milesgranger in #217
  * Fix lz4.decompress_block_into w/o prepended size by
    @milesgranger in #219
  * Add typing stub files and proper docs site by @milesgranger in
    #220
  * Ban mutating immutable buffers on the free-threaded build by
    @ngoldbaum in #214
  * zstd: store size by @milesgranger in #225
  * Add Python 3.14/t - Drop Python 3.8 by @milesgranger in #226
- Release 2.10.0
  * Remove experimental codecs in default builds by @milesgranger
    in #197
  * Bump libcramjam -> 0.7.0 by @milesgranger in #198
  * Update PyO3 to 0.24 by @musicinmybrain in #207
- Disable test_variants_raise_exception[deflate] 
  * gh#milesgranger/cramjam#211
- Disable blosc2 because it fails to compile right now and upstream
  degraded it from the default feature set to experimental
  * gh#milesgranger/cramjam#197
- Add debuginfo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cramjam?expand=0&rev=15
2026-01-03 20:11:57 +00:00

47 lines
1.0 KiB
Diff

Index: cramjam-2.11.0/pyproject.toml
===================================================================
--- cramjam-2.11.0.orig/pyproject.toml
+++ cramjam-2.11.0/pyproject.toml
@@ -15,7 +15,26 @@ requires = ["maturin>=0.14"]
build-backend = "maturin"
[tool.maturin]
-strip = true
+strip = false
+no-default-features = true
+features = [
+ "extension-module",
+ "snappy",
+ "lz4",
+ "bzip2",
+ "brotli",
+ "zstd",
+ "xz-shared",
+ "igzip-shared",
+ "ideflate-shared",
+ "izlib-shared",
+ "use-system-isal-shared",
+ "gzip-shared",
+ "zlib-shared",
+ "deflate-shared",
+# "blosc2-shared",
+# "use-system-blosc2-shared"
+]
[dependency-groups]
dev = [
Index: cramjam-2.11.0/Cargo.toml
===================================================================
--- cramjam-2.11.0.orig/Cargo.toml
+++ cramjam-2.11.0/Cargo.toml
@@ -79,7 +79,8 @@ libcramjam = { version = "^0.8", default
pyo3-build-config = "^0.25"
[profile.release]
-strip = true
+strip = "none"
+debug = true
lto = "fat"
codegen-units = 1
opt-level = 3