diff options
Diffstat (limited to 'archivers/py-zlib-ng/files')
-rw-r--r-- | archivers/py-zlib-ng/files/patch-pyproject.toml | 27 | ||||
-rw-r--r-- | archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt | 10 |
2 files changed, 26 insertions, 11 deletions
diff --git a/archivers/py-zlib-ng/files/patch-pyproject.toml b/archivers/py-zlib-ng/files/patch-pyproject.toml index ad13be9539be..3764a3918481 100644 --- a/archivers/py-zlib-ng/files/patch-pyproject.toml +++ b/archivers/py-zlib-ng/files/patch-pyproject.toml @@ -1,9 +1,26 @@ ---- pyproject.toml.orig 2024-08-09 12:41:18 UTC +--- pyproject.toml.orig 2025-09-10 11:41:02 UTC +++ pyproject.toml -@@ -1,5 +1,5 @@ +@@ -1,12 +1,11 @@ [build-system] --requires = ["setuptools>=64", "versioningit>=1.1.0"] -+requires = ["setuptools>=63", "versioningit>=1.1.0"] +-requires = ["setuptools>=77", "setuptools-scm>=8"] ++requires = ["setuptools>=63", "setuptools-scm>=8"] build-backend = "setuptools.build_meta" - [tool.versioningit.vcs] + [project] + name = "zlib-ng" + dynamic = ["version"] + description = "Drop-in replacement for zlib and gzip modules using zlib-ng" +-license="PSF-2.0" + keywords=["zlib-ng", "zlib", "compression", "deflate", "gzip"] + authors = [{name = "Leiden University Medical Center"}, + {email = "r.h.p.vorderman@lumc.nl"}] +@@ -31,6 +30,9 @@ urls.documentation = "https://python-zlib-ng.readthedo + ] + urls.homepage = "https://github.com/pycompression/python-zlib-ng" + urls.documentation = "https://python-zlib-ng.readthedocs.io" ++ ++[project.license] ++text = "PSF-2.0" + + [tool.setuptools_scm] + version_file = "src/zlib_ng/_version.py" diff --git a/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt b/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt index 9fea130f90fb..e7f6c5b65751 100644 --- a/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt +++ b/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt @@ -1,15 +1,13 @@ ---- src/zlib_ng/zlib-ng/CMakeLists.txt.orig 2023-12-25 16:17:33 UTC +--- src/zlib_ng/zlib-ng/CMakeLists.txt.orig 2025-09-10 11:41:03 UTC +++ src/zlib_ng/zlib-ng/CMakeLists.txt -@@ -74,9 +74,9 @@ option(ZLIB_COMPAT "Compile with zlib compatible API" +@@ -86,8 +86,8 @@ option(ZLIB_COMPAT "Compile with zlib compatible API" # option(WITH_GZFILEOP "Compile with support for gzFile related functions" ON) option(ZLIB_COMPAT "Compile with zlib compatible API" OFF) -option(ZLIB_ENABLE_TESTS "Build test binaries" ON) -option(ZLIBNG_ENABLE_TESTS "Test zlib-ng specific API" ON) --option(WITH_GTEST "Build gtest_zlib" ON) +option(ZLIB_ENABLE_TESTS "Build test binaries" OFF) +option(ZLIBNG_ENABLE_TESTS "Test zlib-ng specific API" OFF) -+option(WITH_GTEST "Build gtest_zlib" OFF) - option(WITH_FUZZERS "Build test/fuzz" OFF) - option(WITH_BENCHMARKS "Build test/benchmarks" OFF) option(WITH_BENCHMARK_APPS "Build application benchmarks" OFF) + option(WITH_OPTIM "Build with optimisation" ON) + option(WITH_REDUCED_MEM "Reduced memory usage for special cases (reduces performance)" OFF) |