pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-mmh3



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 18 17:33:25 UTC 2024

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

Log Message:
py-mmh3: updated to 5.0.1

5.0.1 - 2024-09-22

Fixed

Fix the issue that the package cannot be built from the source distribution

5.0.0 - 2024-09-18

Added

Add support for Python 3.13.
Improve the performance of the hash() function with METH_FASTCALL, reducing the overhead of function calls. For data sizes between 1–2 KB (e.g., 48x48 favicons), performance is 10%–20% faster. For 
smaller data (~500 bytes, like 16x16 favicons), performance increases by approximately 30%
Add digest functions that support the new buffer protocol (PEP 688) as input
Slightly improve the performance of the hash_bytes() function
Add Read the Docs documentation
Document benchmark results

Changed

Backward-incompatible: The seed argument is now strictly validated to ensure it falls within the range [0, 0xFFFFFFFF]. A ValueError is raised if the seed is out of range
Backward-incompatible: Change the constructors of hasher classes to accept a buffer as the first argument
The type of flag argumens has been changed from bool to Any
Change the format of CHANGELOG.md to conform to the Keep a Changelog standard

Deprecated

Deprecate the hash_from_buffer() function. Use mmh3_32_sintdigest() or mmh3_32_uintdigest() as alternatives

Fixed

Fix a reference leak in the hash_from_buffer() function
Fix type hints


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-mmh3/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-mmh3/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-mmh3/distinfo

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-mmh3/Makefile
diff -u pkgsrc/devel/py-mmh3/Makefile:1.2 pkgsrc/devel/py-mmh3/Makefile:1.3
--- pkgsrc/devel/py-mmh3/Makefile:1.2   Tue Jan  4 20:53:17 2022
+++ pkgsrc/devel/py-mmh3/Makefile       Mon Nov 18 17:33:25 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:17 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2024/11/18 17:33:25 adam Exp $
 
-DISTNAME=      mmh3-2.5.1
+DISTNAME=      mmh3-5.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mmh3/}
 
@@ -11,7 +10,9 @@ HOMEPAGE=     https://github.com/hajimes/mmh
 COMMENT=       Python wrapper for MurmurHash3
 LICENSE=       cc0-1.0-universal
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=74.1.0:../../devel/py-setuptools
+
 USE_LANGUAGES= c c++
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-mmh3/PLIST
diff -u pkgsrc/devel/py-mmh3/PLIST:1.1 pkgsrc/devel/py-mmh3/PLIST:1.2
--- pkgsrc/devel/py-mmh3/PLIST:1.1      Sun Apr 28 18:47:13 2019
+++ pkgsrc/devel/py-mmh3/PLIST  Mon Nov 18 17:33:25 2024
@@ -1,6 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2019/04/28 18:47:13 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/11/18 17:33:25 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/mmh3.so
+${PYSITELIB}/mmh3/__init__.pyi
+${PYSITELIB}/mmh3/hashlib.h
+${PYSITELIB}/mmh3/mmh3module.c
+${PYSITELIB}/mmh3/murmurhash3.c
+${PYSITELIB}/mmh3/murmurhash3.h
+${PYSITELIB}/mmh3/py.typed

Index: pkgsrc/devel/py-mmh3/distinfo
diff -u pkgsrc/devel/py-mmh3/distinfo:1.3 pkgsrc/devel/py-mmh3/distinfo:1.4
--- pkgsrc/devel/py-mmh3/distinfo:1.3   Tue Oct 26 10:18:41 2021
+++ pkgsrc/devel/py-mmh3/distinfo       Mon Nov 18 17:33:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:18:41 nia Exp $
+$NetBSD: distinfo,v 1.4 2024/11/18 17:33:25 adam Exp $
 
-BLAKE2s (mmh3-2.5.1.tar.gz) = 39b94ac13e45225f6a1eb5113f8d41ddc2ab7ec7bc08f2b67ba9030821c6a881
-SHA512 (mmh3-2.5.1.tar.gz) = 1cc2bdaceda00e90355fcca990517aec77e60c2117e716cf7311a5b4aa1a78635cee16ad4d551d73ea72a18fe9c40fb24b7ff042171eae252cc4fb5660592d37
-Size (mmh3-2.5.1.tar.gz) = 9797 bytes
+BLAKE2s (mmh3-5.0.1.tar.gz) = 812289c628872918ead2b80540a2bf57438a5f240a14480d99a4e92989c6af0b
+SHA512 (mmh3-5.0.1.tar.gz) = 29ea15cb8aed07a72e987206531c0f96c480b57fa96a2da82d0594b8f754f29a6ea010c1179c3cc4debe0d5cb6d67fe217dd4f7964cbc314fa543240a3784f00
+Size (mmh3-5.0.1.tar.gz) = 32008 bytes



Home | Main Index | Thread Index | Old Index