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: Sun Jun 28 08:07:13 UTC 2026
Modified Files:
pkgsrc/misc/py-tibs: Makefile distinfo
Log Message:
py-tibs: updated to 0.11.0
0.11.0
Backwardly incompatible changes
* Restored `Tibs.__hash__`, reversing the change made in version 0.10.0.
`Tibs` is now hashable again, while `Mutibs` remains unhashable.
* Instead, equality no longer promotes strings, bytes or iterables to bit containers.
`Tibs` and `Mutibs` compare equal to each other when their bit sequences
match, but expressions such as `Tibs('0xf') == '0b1111'` now return `False`.
Use `Tibs('0b1111')`, `Mutibs('0b1111')`, or representation properties such
as `.bin` and `.hex` when comparing against literal representations.
Added
* Added `Tibs.to_padded_bytes()` and `Mutibs.to_padded_bytes()`, which convert
to `bytes` after appending 0 to 7 zero bits on the right to reach a byte
boundary.
* Added `Dtype.pack`, `Dtype.pack_values`, `Dtype.unpack`,
`Dtype.unpack_values` and `Dtype.unpack_values_iter`.
* Added `DtypeKind.Bool` and `DtypeKind.Bits`. `Dtype("bool")` is a fixed
one-bit dtype that packs `True`, `False`, `0` and `1`, and unpacks to Python
`bool`. `Dtype("bitsN")` packs fixed-length bit sequences and unpacks them as
immutable `Tibs` values.
Fixes
* `Dtype` instances now compare and hash by kind, length and byte order instead
of by object identity.
* Byte order is now rejected for every non-numeric dtype kind.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 pkgsrc/misc/py-tibs/Makefile:1.6
--- pkgsrc/misc/py-tibs/Makefile:1.5 Wed Jun 24 08:51:15 2026
+++ pkgsrc/misc/py-tibs/Makefile Sun Jun 28 08:07:13 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2026/06/24 08:51:15 adam Exp $
+# $NetBSD: Makefile,v 1.6 2026/06/28 08:07:13 adam Exp $
-DISTNAME= tibs-0.10.0
+DISTNAME= tibs-0.11.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.5 pkgsrc/misc/py-tibs/distinfo:1.6
--- pkgsrc/misc/py-tibs/distinfo:1.5 Wed Jun 24 08:51:16 2026
+++ pkgsrc/misc/py-tibs/distinfo Sun Jun 28 08:07:13 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2026/06/24 08:51:16 adam Exp $
+$NetBSD: distinfo,v 1.6 2026/06/28 08:07:13 adam Exp $
BLAKE2s (allocator-api2-0.2.21.crate) = 19229533116e7c08961658159a3a9779307bf1241963efefbcb34168b00ed036
SHA512 (allocator-api2-0.2.21.crate) = 1bb5711ed6041b0d7eae2ec784b8aa9d215db0f49cf79c692946eeb0db545d358cbcaa8156ae34e51d05287c08574f1da251ee574f2392949e4ed26d04770d03
@@ -186,9 +186,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.10.0.tar.gz) = 040c2c5732e5b2e155a437f7f7f17df05524c2ba3650fa5d064dee68eed53b51
-SHA512 (tibs-0.10.0.tar.gz) = 4d9689790612a3939fa855684ec8ae86f1c86460860772516df2f099e1b341ba7d6e7af7b7b2e759d7daa5ee9ed3b1729dee429ef1bf8ff3b8843043957f1e1c
-Size (tibs-0.10.0.tar.gz) = 1921924 bytes
+BLAKE2s (tibs-0.11.0.tar.gz) = e7d6cdd67c8e3103c95daa96f8e0a46878a1433ce8141c6159ea085dbbd20d94
+SHA512 (tibs-0.11.0.tar.gz) = 28b6af737198cecae38a985588f9ea14ad7763fa0f32475b4ee6654adf02bd7f042387ae0810e3d866fed7f3b93b2f1eb13f14a4a6b77891093c3f8532a34196
+Size (tibs-0.11.0.tar.gz) = 1930081 bytes
BLAKE2s (typenum-1.20.1.crate) = 934ab6c421561d93f1a27032be23ce74c9597f8b3a400b3a67b50af525e91ff3
SHA512 (typenum-1.20.1.crate) = ad4768b49dc06808e3135411ffaf21453572d152f71d73c34b7fe5d00e276d3e121dc78ebed57d620cf46b5ab24b5b5e0787f38ad9ce8bd12330b499cbbde5e1
Size (typenum-1.20.1.crate) = 105479 bytes
Home |
Main Index |
Thread Index |
Old Index