From: Flaviu Nistor <flaviu.nistor@gmail.com>
To: buildroot@buildroot.org
Cc: Flaviu Nistor <flaviu.nistor@gmail.com>,
James Hilliard <james.hilliard1@gmail.com>,
Julien Olivain <ju.o@free.fr>
Subject: [Buildroot] [PATCH v4 1/3] package/python-cramjam: new package
Date: Thu, 30 Jul 2026 10:59:38 +0300 [thread overview]
Message-ID: <20260730075941.7679-1-flaviu.nistor@gmail.com> (raw)
Add cramjam, a python bindings to de/compression algorithms.
It is needed by python-snappy package in order to bump the version.
Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>
---
Changes in v4:
- Update also DEVELOPERS file as suggested by Fiona Klute.
- Link to v3: https://lore.kernel.org/all/20260724065004.217411-1-flaviu.nistor@gmail.com/
DEVELOPERS | 3 +++
package/Config.in | 1 +
package/python-cramjam/Config.in | 9 +++++++++
package/python-cramjam/python-cramjam.hash | 4 ++++
package/python-cramjam/python-cramjam.mk | 14 ++++++++++++++
5 files changed, 31 insertions(+)
create mode 100644 package/python-cramjam/Config.in
create mode 100644 package/python-cramjam/python-cramjam.hash
create mode 100644 package/python-cramjam/python-cramjam.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index f2713c7239..93519574c9 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1134,6 +1134,9 @@ F: support/testing/tests/package/test_nftables.py
F: support/testing/tests/package/test_python_networkmanager_goi.py
F: support/testing/tests/package/test_python_pyroute2.py
+N: Flaviu Nistor <flaviu.nistor@gmail.com>
+F: package/python-cramjam/
+
N: Flávio Tapajós <flavio.tapajos@newtesc.com.br>
F: configs/asus_tinker-s_rk3288_defconfig
F: board/asus/tinker-s/
diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..d4e3c2fe58 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1061,6 +1061,7 @@ menu "External python modules"
source "package/python-construct/Config.in"
source "package/python-contourpy/Config.in"
source "package/python-couchdb/Config.in"
+ source "package/python-cramjam/Config.in"
source "package/python-crayons/Config.in"
source "package/python-crc/Config.in"
source "package/python-crc16/Config.in"
diff --git a/package/python-cramjam/Config.in b/package/python-cramjam/Config.in
new file mode 100644
index 0000000000..84119ca968
--- /dev/null
+++ b/package/python-cramjam/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_CRAMJAM
+ bool "python-cramjam"
+ depends on !BR2_ARM_CPU_ARMV5
+ help
+ Python bindings to de/compression algorithms in Rust.
+ Allows for using algorithms such as Snappy, without any
+ system or other python dependencies.
+
+ https://pypi.org/project/cramjam
diff --git a/package/python-cramjam/python-cramjam.hash b/package/python-cramjam/python-cramjam.hash
new file mode 100644
index 0000000000..2042bb6281
--- /dev/null
+++ b/package/python-cramjam/python-cramjam.hash
@@ -0,0 +1,4 @@
+# Locally computed sha256 checksums
+sha256 542ea349a7528d88935856d3eb562cd17bff713d7a41eab8d6812d78a3cb00ba cramjam-2.11.0.tar.gz
+sha256 10892f279948fe9a2dd5f2c559ef78aae1ebf4b5d5825e1eaf68b03787fde402 python-cramjam-2.11.0-cargo6.tar.gz
+sha256 b4f882bfc80d27a3732789bd883a8c1d342e8ffea7f622a71b3dfded834205ff LICENSE
diff --git a/package/python-cramjam/python-cramjam.mk b/package/python-cramjam/python-cramjam.mk
new file mode 100644
index 0000000000..e1e060bfba
--- /dev/null
+++ b/package/python-cramjam/python-cramjam.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-cramjam
+#
+################################################################################
+
+PYTHON_CRAMJAM_VERSION = 2.11.0
+PYTHON_CRAMJAM_SITE = $(call github,milesgranger,cramjam,v$(PYTHON_CRAMJAM_VERSION))
+PYTHON_CRAMJAM_SETUP_TYPE = maturin
+PYTHON_CRAMJAM_LICENSE = MIT
+PYTHON_CRAMJAM_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
+$(eval $(host-python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2026-07-30 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 7:59 Flaviu Nistor [this message]
2026-07-30 7:59 ` [Buildroot] [PATCH v4 2/3] package/python-snappy: bump version to 0.7.2 Flaviu Nistor
2026-07-30 7:59 ` [Buildroot] [PATCH v4 3/3] support/testing: add snappy test Flaviu Nistor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260730075941.7679-1-flaviu.nistor@gmail.com \
--to=flaviu.nistor@gmail.com \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
--cc=ju.o@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.