pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/py-tibs



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 26 05:43:08 UTC 2026

Modified Files:
        pkgsrc/misc/py-tibs: Makefile distinfo

Log Message:
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`.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/py-tibs/Makefile \
    pkgsrc/misc/py-tibs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-tibs/Makefile
diff -u pkgsrc/misc/py-tibs/Makefile:1.1 pkgsrc/misc/py-tibs/Makefile:1.2
--- pkgsrc/misc/py-tibs/Makefile:1.1    Wed May 20 07:58:33 2026
+++ pkgsrc/misc/py-tibs/Makefile        Tue May 26 05:43:08 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/05/20 07:58:33 adam Exp $
+# $NetBSD: Makefile,v 1.2 2026/05/26 05:43:08 adam Exp $
 
-DISTNAME=      tibs-0.7.0
+DISTNAME=      tibs-0.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tibs/}
Index: pkgsrc/misc/py-tibs/distinfo
diff -u pkgsrc/misc/py-tibs/distinfo:1.1 pkgsrc/misc/py-tibs/distinfo:1.2
--- pkgsrc/misc/py-tibs/distinfo:1.1    Wed May 20 07:58:33 2026
+++ pkgsrc/misc/py-tibs/distinfo        Tue May 26 05:43:08 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2026/05/20 07:58:33 adam Exp $
+$NetBSD: distinfo,v 1.2 2026/05/26 05:43:08 adam Exp $
 
 BLAKE2s (allocator-api2-0.2.21.crate) = 19229533116e7c08961658159a3a9779307bf1241963efefbcb34168b00ed036
 SHA512 (allocator-api2-0.2.21.crate) = 1bb5711ed6041b0d7eae2ec784b8aa9d215db0f49cf79c692946eeb0db545d358cbcaa8156ae34e51d05287c08574f1da251ee574f2392949e4ed26d04770d03
@@ -183,9 +183,9 @@ Size (tap-1.0.1.crate) = 11316 bytes
 BLAKE2s (target-lexicon-0.13.5.crate) = 68bf6c69ac036b1df41f1073b8a85e072da1e13c570340afe4f59722e4c95fd0
 SHA512 (target-lexicon-0.13.5.crate) = 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc
 Size (target-lexicon-0.13.5.crate) = 26928 bytes
-BLAKE2s (tibs-0.7.0.tar.gz) = 583983470c9d4e79bcb85b08a2dfe7fbce0f391e41e93e97e91038374957eb3b
-SHA512 (tibs-0.7.0.tar.gz) = 7572772fd8156719f2020e6460eff2e4e8a08492744782b6922749ec802724d325f5954a6a652fe15825c50f09ad27f0dfe0dbc78f4061a59ee2c861923f3acc
-Size (tibs-0.7.0.tar.gz) = 1296097 bytes
+BLAKE2s (tibs-0.8.0.tar.gz) = 564ab4ff8cbdbb321a1bb3984c8d6b09139d24b7bdca964ad90bb3307d72c59a
+SHA512 (tibs-0.8.0.tar.gz) = d5aa30a7da00a2e685e4df62b6bfe6db58d9b824bf66570b3410225afa6b3f60e0fa373242985672bf44499df783a8c3d934930d7a7fde99d98f37655d98bdbe
+Size (tibs-0.8.0.tar.gz) = 1311748 bytes
 BLAKE2s (typenum-1.19.0.crate) = 80b44dc55e4bf94091b8882ffecd8b65b421bee8fec93e878f36eab55aa58f68
 SHA512 (typenum-1.19.0.crate) = 09ebcd7a2cc11f422469cf4fe706f1988bcd81d628e2bab3f54ae82b0aa5486d03a4392187a3736c13dc0c2027053387f89ac656caff72f36365c8be38bc7ff4
 Size (typenum-1.19.0.crate) = 76414 bytes



Home | Main Index | Thread Index | Old Index