head 1.4; access; symbols pkgsrc-2026Q2:1.4.0.2 pkgsrc-2026Q2-base:1.4; locks; strict; comment @# @; 1.4 date 2026.06.06.06.34.35; author adam; state Exp; branches; next 1.3; commitid scGfGmnsd5zDHHIG; 1.3 date 2026.06.01.07.47.33; author adam; state Exp; branches; next 1.2; commitid mKSSm010ewkCg4IG; 1.2 date 2026.05.26.05.43.08; author adam; state Exp; branches; next 1.1; commitid 8juWKN5IecwSLhHG; 1.1 date 2026.05.20.07.58.33; author adam; state Exp; branches; next ; commitid hVL76bFlX1UjIwGG; desc @@ 1.4 log @py-tibs: updated to 0.9.2 0.9.2 Adding start and end to count. @ text @# $NetBSD: Makefile,v 1.3 2026/06/01 07:47:33 adam Exp $ DISTNAME= tibs-0.9.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= misc python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tibs/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/scott-griffiths/tibs COMMENT= Sleek Python library for binary data LICENSE= mit TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=6.151.0:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark>=5.2.0:../../devel/py-test-benchmark .include "cargo-depends.mk" .include "../../devel/py-maturin/tool.mk" .include "../../lang/python/wheel.mk" .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk" @ 1.3 log @py-tibs: updated to 0.9.0 0.9.0 Adding periodic checks for Python signals in more methods that could... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2026/05/26 05:43:08 adam Exp $ d3 1 a3 1 DISTNAME= tibs-0.9.0 @ 1.2 log @py-tibs: updated to 0.8.0 0.8.0 Backwardly incompatible changes * Renamed the constructor keyword from `endianness` to `byte_order` for `from_u`, `from_i` and `from_f`. The `Endianness` enum is unchanged. Added * Added the `MutableView` class. Views from `Mutibs` are now live mutable views, so interpreted writes through `m.le`, `m.lsb0`, selected fields, or explicit mutable views update the original `Mutibs`. * Added fixed-width write methods and settable interpretation properties: `write_u`, `write_i`, `write_f`, `write_bin`, `write_oct`, `write_hex` and `write_bytes`, plus settable `.u`, `.i`, `.f`, `.bin`, `.oct`, `.hex` and `.bytes` properties where mutation is supported. * Added labelled field helpers. `Tibs.field(a, b)` and `Mutibs.field(a, b)` use default MSB0 labels, while `View.field(a, b)` and `MutableView.field(a, b)` use the view's current bit order. Field endpoints are inclusive and can be given in either order. * Added `View.from_indices` and `MutableView.from_indices` for low-level views over explicit source-bit positions. * Added read-only `byte_order` and `bit_order` properties to `View` and `MutableView`. Fixes * Fixed LSB0 field extraction so it reverses labels within bytes without also reversing byte order. * Improved error handling around field labels and byte-order construction, including reporting negative field labels as `ValueError`. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2026/05/20 07:58:33 adam Exp $ d3 1 a3 1 DISTNAME= tibs-0.8.0 @ 1.1 log @py-tibs: added version 0.7.0 tibs is a simple but powerful Python library for creating, interpreting and manipulating binary data. It is 100% written in Rust to give it excellent performance, and is from the same author as the bitstring library. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= tibs-0.7.0 @