pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-kaitaistruct



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 28 18:42:10 UTC 2022

Modified Files:
        pkgsrc/devel/py-kaitaistruct: Makefile PLIST distinfo

Log Message:
py-kaitaistruct: updated to 0.10

0.10

read_bytes(): use previous implementation again for small reads
      For small reads, the new code that tries to avoid unnecessary reads is
noticeably slower than the previous code that reads unconditionally. In
the worst case (1-byte reads), the new code is 13 times as slow as the
previous implementation. The potential memory/IO savings only become
worth it for larger reads, where the performance difference disappears.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-kaitaistruct/Makefile \
    pkgsrc/devel/py-kaitaistruct/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-kaitaistruct/PLIST

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

Modified files:

Index: pkgsrc/devel/py-kaitaistruct/Makefile
diff -u pkgsrc/devel/py-kaitaistruct/Makefile:1.5 pkgsrc/devel/py-kaitaistruct/Makefile:1.6
--- pkgsrc/devel/py-kaitaistruct/Makefile:1.5   Tue Jan  4 20:53:14 2022
+++ pkgsrc/devel/py-kaitaistruct/Makefile       Mon Nov 28 18:42:09 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:53:14 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/11/28 18:42:09 adam Exp $
 
-DISTNAME=      kaitaistruct-0.9
+DISTNAME=      kaitaistruct-0.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=k/kaitaistruct/}
 
@@ -13,5 +12,10 @@ LICENSE=     mit
 
 USE_LANGUAGES= # none
 
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+.endif
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-kaitaistruct/distinfo
diff -u pkgsrc/devel/py-kaitaistruct/distinfo:1.5 pkgsrc/devel/py-kaitaistruct/distinfo:1.6
--- pkgsrc/devel/py-kaitaistruct/distinfo:1.5   Tue Oct 26 10:18:37 2021
+++ pkgsrc/devel/py-kaitaistruct/distinfo       Mon Nov 28 18:42:09 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:37 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/11/28 18:42:09 adam Exp $
 
-BLAKE2s (kaitaistruct-0.9.tar.gz) = 67fa5a71e82c8da0b168a5b7f17163fd25ffe0bca9aa03829d66942e6368f445
-SHA512 (kaitaistruct-0.9.tar.gz) = 4654f18d72f31745f27eed035899231e69f9539a8e8322055b0dd99ad701dbd4d484357d0bc42f5a1953abc6947a90fc5ec9da80aeb862077c175c1295549682
-Size (kaitaistruct-0.9.tar.gz) = 5497 bytes
+BLAKE2s (kaitaistruct-0.10.tar.gz) = 7e8f87dc1a8ef32d01764b95c22d7b56904d2c2a07e84ca254c7b075d142592a
+SHA512 (kaitaistruct-0.10.tar.gz) = b4db8b67fe5dd310121ecfad6db79d424e2bd7308b5ae2cc1cdbcd73538533b5bbe4047b71e2ff65d8109b213ad0a5b88a96cd593b08f910ea6ae9bf3c4cbfac
+Size (kaitaistruct-0.10.tar.gz) = 7061 bytes

Index: pkgsrc/devel/py-kaitaistruct/PLIST
diff -u pkgsrc/devel/py-kaitaistruct/PLIST:1.2 pkgsrc/devel/py-kaitaistruct/PLIST:1.3
--- pkgsrc/devel/py-kaitaistruct/PLIST:1.2      Tue Apr  6 20:01:36 2021
+++ pkgsrc/devel/py-kaitaistruct/PLIST  Mon Nov 28 18:42:09 2022
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/06 20:01:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/11/28 18:42:09 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/kaitaistruct.py



Home | Main Index | Thread Index | Old Index