Skip to content

Commit

Permalink
py-cramjam: update to 2.8.4.
Browse files Browse the repository at this point in the history
TL/DR

    Add cramjam.experimental.blosc2
    Add cramjam.experimental.igzip (on 64bit targets)
    Add wasm32 emscripten build and test for pyodide

What's Changed

    Update libcramjam crate to 0.3.0 in cramjam-cli by @musicinmybrain in #152
    Add experimental blosc2 support by @milesgranger in #107
    Move sdist generations to own job by @milesgranger in #155
    Add blosc2 to CLI, libcramjam features and own CI by @milesgranger in #156
    Don't overwrite artifact on each job by @milesgranger in #157
    Prepare for release by @milesgranger in #158
    Change github release job in CI by @milesgranger in #161
    Adjust for move of libcramjam and CLI to own repos by @milesgranger in #162
    Bump libcramjam and simplify CI by @milesgranger in #163
    Bump version and fix CI artifact uploading by @milesgranger in #164
    Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows by @dependabot in #168
    Update PyO3 0.20 -> 0.22 & Python 3.13 by @milesgranger in #169
    Update upload/download-artifact actions by @milesgranger in #170
    Add more feature configuration options by @milesgranger in #174
    Fix blosc2 upgrade API changes by @milesgranger in #176
    Expose linking flexibility for xz, gzip/deflate from libcramjam by @milesgranger in #175
    Remove pypy3.9 from CI by @milesgranger in #177
    Exclude benchmarks from builds by @milesgranger in #179
    Add wasm32-emscripten builds by @milesgranger in #181
    Add experimental igzip by @milesgranger in #182
  • Loading branch information
0-wiz-0 committed Oct 23, 2024
1 parent 4415580 commit b544fc1
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 443 deletions.
10 changes: 8 additions & 2 deletions archivers/py-cramjam/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2024/08/31 08:50:44 wiz Exp $
# $NetBSD: Makefile,v 1.4 2024/10/23 21:33:42 wiz Exp $

DISTNAME= cramjam-2.8.3
DISTNAME= cramjam-2.8.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cramjam/}
Expand All @@ -11,11 +11,17 @@ COMMENT= Extremely thin Python bindings to de/compression algorithms in Rust
LICENSE= mit

TOOL_DEPENDS+= ${PYPKGPREFIX}-maturin>=0.14:../../devel/py-maturin
TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
TOOL_DEPENDS+= nasm-[0-9]*:../../devel/nasm
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-memory-profiler-[0-9]*:../../devel/py-memory-profiler
TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist

# for isal-sys-0.3.1+496255c
USE_TOOLS+= autoconf automake
USE_LIBTOOL= yes

.include "cargo-depends.mk"

.include "../../lang/python/wheel.mk"
Expand Down
180 changes: 70 additions & 110 deletions archivers/py-cramjam/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,144 +1,104 @@
# $NetBSD: cargo-depends.mk,v 1.1 2024/05/24 17:30:16 adam Exp $
# $NetBSD: cargo-depends.mk,v 1.2 2024/10/23 21:33:42 wiz Exp $

CARGO_CRATE_DEPENDS+= adler-1.0.2
CARGO_CRATE_DEPENDS+= aho-corasick-1.1.2
CARGO_CRATE_DEPENDS+= adler2-2.0.0
CARGO_CRATE_DEPENDS+= alloc-no-stdlib-2.0.4
CARGO_CRATE_DEPENDS+= alloc-stdlib-0.2.2
CARGO_CRATE_DEPENDS+= anstream-0.6.13
CARGO_CRATE_DEPENDS+= anstyle-1.0.6
CARGO_CRATE_DEPENDS+= anstyle-parse-0.2.3
CARGO_CRATE_DEPENDS+= anstyle-query-1.0.2
CARGO_CRATE_DEPENDS+= anstyle-wincon-3.0.2
CARGO_CRATE_DEPENDS+= assert_cmd-1.0.8
CARGO_CRATE_DEPENDS+= atty-0.2.14
CARGO_CRATE_DEPENDS+= autocfg-1.1.0
CARGO_CRATE_DEPENDS+= autocfg-1.3.0
CARGO_CRATE_DEPENDS+= bitflags-1.3.2
CARGO_CRATE_DEPENDS+= bitflags-2.4.2
CARGO_CRATE_DEPENDS+= brotli-3.4.0
CARGO_CRATE_DEPENDS+= bitflags-2.6.0
CARGO_CRATE_DEPENDS+= blosc2-rs-0.3.1+2.15.1
CARGO_CRATE_DEPENDS+= blosc2-sys-0.3.1+2.15.1
CARGO_CRATE_DEPENDS+= brotli-3.5.0
CARGO_CRATE_DEPENDS+= brotli-decompressor-2.5.1
CARGO_CRATE_DEPENDS+= bstr-0.2.17
CARGO_CRATE_DEPENDS+= bytesize-1.3.0
CARGO_CRATE_DEPENDS+= bzip2-0.4.4
CARGO_CRATE_DEPENDS+= bzip2-sys-0.1.11+1.0.8
CARGO_CRATE_DEPENDS+= cbindgen-0.24.5
CARGO_CRATE_DEPENDS+= cc-1.0.90
CARGO_CRATE_DEPENDS+= cc-1.1.21
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= clap-3.2.25
CARGO_CRATE_DEPENDS+= clap-4.5.2
CARGO_CRATE_DEPENDS+= clap_builder-4.5.2
CARGO_CRATE_DEPENDS+= clap_derive-4.5.0
CARGO_CRATE_DEPENDS+= clap_lex-0.2.4
CARGO_CRATE_DEPENDS+= clap_lex-0.7.0
CARGO_CRATE_DEPENDS+= colorchoice-1.0.0
CARGO_CRATE_DEPENDS+= crc32fast-1.4.0
CARGO_CRATE_DEPENDS+= difflib-0.4.0
CARGO_CRATE_DEPENDS+= doc-comment-0.3.3
CARGO_CRATE_DEPENDS+= either-1.10.0
CARGO_CRATE_DEPENDS+= errno-0.3.8
CARGO_CRATE_DEPENDS+= fastrand-2.0.1
CARGO_CRATE_DEPENDS+= flate2-1.0.28
CARGO_CRATE_DEPENDS+= float-cmp-0.9.0
CARGO_CRATE_DEPENDS+= cmake-0.1.51
CARGO_CRATE_DEPENDS+= copy_dir-0.1.3
CARGO_CRATE_DEPENDS+= crc32fast-1.4.2
CARGO_CRATE_DEPENDS+= errno-0.3.9
CARGO_CRATE_DEPENDS+= fastrand-2.1.1
CARGO_CRATE_DEPENDS+= flate2-1.0.33
CARGO_CRATE_DEPENDS+= hashbrown-0.12.3
CARGO_CRATE_DEPENDS+= heck-0.4.1
CARGO_CRATE_DEPENDS+= heck-0.5.0
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.19
CARGO_CRATE_DEPENDS+= indexmap-1.9.3
CARGO_CRATE_DEPENDS+= indoc-2.0.4
CARGO_CRATE_DEPENDS+= inline-c-0.1.7
CARGO_CRATE_DEPENDS+= inline-c-macro-0.1.5
CARGO_CRATE_DEPENDS+= itertools-0.10.5
CARGO_CRATE_DEPENDS+= itoa-1.0.10
CARGO_CRATE_DEPENDS+= jobserver-0.1.28
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.153
CARGO_CRATE_DEPENDS+= libcramjam-0.2.0
CARGO_CRATE_DEPENDS+= libcramjam-0.3.0
CARGO_CRATE_DEPENDS+= indoc-2.0.5
CARGO_CRATE_DEPENDS+= isal-rs-0.3.1+496255c
CARGO_CRATE_DEPENDS+= isal-sys-0.3.1+496255c
CARGO_CRATE_DEPENDS+= itoa-1.0.11
CARGO_CRATE_DEPENDS+= jobserver-0.1.32
CARGO_CRATE_DEPENDS+= libc-0.2.158
CARGO_CRATE_DEPENDS+= libcramjam-0.5.1
CARGO_CRATE_DEPENDS+= libdeflate-sys-1.19.3
CARGO_CRATE_DEPENDS+= libdeflater-1.19.3
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.4.13
CARGO_CRATE_DEPENDS+= lock_api-0.4.11
CARGO_CRATE_DEPENDS+= log-0.4.21
CARGO_CRATE_DEPENDS+= lz4-1.24.0
CARGO_CRATE_DEPENDS+= lz4-sys-1.9.4
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.4.14
CARGO_CRATE_DEPENDS+= lock_api-0.4.12
CARGO_CRATE_DEPENDS+= log-0.4.22
CARGO_CRATE_DEPENDS+= lz4-1.27.0
CARGO_CRATE_DEPENDS+= lz4-sys-1.11.0
CARGO_CRATE_DEPENDS+= lzma-sys-0.1.20
CARGO_CRATE_DEPENDS+= memchr-2.7.1
CARGO_CRATE_DEPENDS+= memoffset-0.9.0
CARGO_CRATE_DEPENDS+= miniz_oxide-0.7.2
CARGO_CRATE_DEPENDS+= normalize-line-endings-0.3.0
CARGO_CRATE_DEPENDS+= num-traits-0.2.18
CARGO_CRATE_DEPENDS+= memchr-2.7.4
CARGO_CRATE_DEPENDS+= memoffset-0.9.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.8.0
CARGO_CRATE_DEPENDS+= once_cell-1.19.0
CARGO_CRATE_DEPENDS+= os_str_bytes-6.6.1
CARGO_CRATE_DEPENDS+= parking_lot-0.12.1
CARGO_CRATE_DEPENDS+= parking_lot_core-0.9.9
CARGO_CRATE_DEPENDS+= pest-2.7.8
CARGO_CRATE_DEPENDS+= pkg-config-0.3.30
CARGO_CRATE_DEPENDS+= portable-atomic-1.6.0
CARGO_CRATE_DEPENDS+= predicates-2.1.5
CARGO_CRATE_DEPENDS+= predicates-core-1.0.6
CARGO_CRATE_DEPENDS+= predicates-tree-1.0.9
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.78
CARGO_CRATE_DEPENDS+= pyo3-0.20.3
CARGO_CRATE_DEPENDS+= pyo3-build-config-0.20.3
CARGO_CRATE_DEPENDS+= pyo3-ffi-0.20.3
CARGO_CRATE_DEPENDS+= pyo3-macros-0.20.3
CARGO_CRATE_DEPENDS+= pyo3-macros-backend-0.20.3
CARGO_CRATE_DEPENDS+= python3-dll-a-0.2.9
CARGO_CRATE_DEPENDS+= quote-1.0.35
CARGO_CRATE_DEPENDS+= redox_syscall-0.4.1
CARGO_CRATE_DEPENDS+= regex-1.10.3
CARGO_CRATE_DEPENDS+= regex-automata-0.1.10
CARGO_CRATE_DEPENDS+= regex-automata-0.4.6
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.2
CARGO_CRATE_DEPENDS+= rustc_version-0.3.3
CARGO_CRATE_DEPENDS+= rustix-0.38.31
CARGO_CRATE_DEPENDS+= ryu-1.0.17
CARGO_CRATE_DEPENDS+= parking_lot-0.12.3
CARGO_CRATE_DEPENDS+= parking_lot_core-0.9.10
CARGO_CRATE_DEPENDS+= pkg-config-0.3.31
CARGO_CRATE_DEPENDS+= portable-atomic-1.8.0
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
CARGO_CRATE_DEPENDS+= pyo3-0.22.3
CARGO_CRATE_DEPENDS+= pyo3-build-config-0.22.3
CARGO_CRATE_DEPENDS+= pyo3-ffi-0.22.3
CARGO_CRATE_DEPENDS+= pyo3-macros-0.22.3
CARGO_CRATE_DEPENDS+= pyo3-macros-backend-0.22.3
CARGO_CRATE_DEPENDS+= python3-dll-a-0.2.10
CARGO_CRATE_DEPENDS+= quote-1.0.37
CARGO_CRATE_DEPENDS+= redox_syscall-0.5.4
CARGO_CRATE_DEPENDS+= rustix-0.38.37
CARGO_CRATE_DEPENDS+= ryu-1.0.18
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.2.0
CARGO_CRATE_DEPENDS+= semver-0.11.0
CARGO_CRATE_DEPENDS+= semver-parser-0.10.2
CARGO_CRATE_DEPENDS+= serde-1.0.197
CARGO_CRATE_DEPENDS+= serde_derive-1.0.197
CARGO_CRATE_DEPENDS+= serde_json-1.0.114
CARGO_CRATE_DEPENDS+= smallvec-1.13.1
CARGO_CRATE_DEPENDS+= serde-1.0.210
CARGO_CRATE_DEPENDS+= serde_derive-1.0.210
CARGO_CRATE_DEPENDS+= serde_json-1.0.128
CARGO_CRATE_DEPENDS+= shlex-1.3.0
CARGO_CRATE_DEPENDS+= smallvec-1.13.2
CARGO_CRATE_DEPENDS+= snap-1.1.1
CARGO_CRATE_DEPENDS+= strsim-0.10.0
CARGO_CRATE_DEPENDS+= strsim-0.11.0
CARGO_CRATE_DEPENDS+= syn-1.0.109
CARGO_CRATE_DEPENDS+= syn-2.0.52
CARGO_CRATE_DEPENDS+= target-lexicon-0.11.2
CARGO_CRATE_DEPENDS+= target-lexicon-0.12.14
CARGO_CRATE_DEPENDS+= tempfile-3.10.1
CARGO_CRATE_DEPENDS+= syn-2.0.77
CARGO_CRATE_DEPENDS+= target-lexicon-0.12.16
CARGO_CRATE_DEPENDS+= tempfile-3.12.0
CARGO_CRATE_DEPENDS+= termcolor-1.4.1
CARGO_CRATE_DEPENDS+= termtree-0.4.1
CARGO_CRATE_DEPENDS+= textwrap-0.16.1
CARGO_CRATE_DEPENDS+= thiserror-1.0.57
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.57
CARGO_CRATE_DEPENDS+= toml-0.5.11
CARGO_CRATE_DEPENDS+= ucd-trie-0.1.6
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.13
CARGO_CRATE_DEPENDS+= unindent-0.2.3
CARGO_CRATE_DEPENDS+= utf8parse-0.2.1
CARGO_CRATE_DEPENDS+= wait-timeout-0.2.0
CARGO_CRATE_DEPENDS+= walkdir-2.5.0
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.6
CARGO_CRATE_DEPENDS+= winapi-util-0.1.9
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= windows-sys-0.52.0
CARGO_CRATE_DEPENDS+= windows-targets-0.48.5
CARGO_CRATE_DEPENDS+= windows-targets-0.52.4
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.4
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.4
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.4
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.4
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.4
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.4
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.4
CARGO_CRATE_DEPENDS+= windows-sys-0.59.0
CARGO_CRATE_DEPENDS+= windows-targets-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.6
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.6
CARGO_CRATE_DEPENDS+= xz2-0.1.7
CARGO_CRATE_DEPENDS+= zstd-0.13.0
CARGO_CRATE_DEPENDS+= zstd-safe-7.0.0
CARGO_CRATE_DEPENDS+= zstd-sys-2.0.9+zstd.1.5.5
CARGO_CRATE_DEPENDS+= zstd-0.13.2
CARGO_CRATE_DEPENDS+= zstd-safe-7.2.1
CARGO_CRATE_DEPENDS+= zstd-sys-2.0.13+zstd.1.5.6
Loading

0 comments on commit b544fc1

Please sign in to comment.