pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-lmdb



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri May 29 12:36:36 UTC 2026

Modified Files:
        pkgsrc/databases/py-lmdb: Makefile PLIST distinfo

Log Message:
py-lmdb: updated to 2.2.0

2.2.0

New features

- New ``lmdb.aio`` module providing asyncio support with
    ``AsyncEnvironment`` and ``AsyncTransaction``.

- ``Environment.dbs()`` lists all named databases in an environment.

- ``Cursor.getmulti()`` accepts ``values=False`` for batch key-existence
    checks without fetching values.

- ``Transaction.stat()`` now defaults to the main database when no ``db``
    argument is given.

- ``Environment.set_mapsize()`` now safely invalidates open transactions
    and cursors before remapping, preventing use-after-free crashes.

- Enable sparse files on Windows so NTFS does not preallocate the full
    ``map_size`` on disk.

Bug fixes

- Fix type stubs: return types now use ``Union[bytes, memoryview]`` to
    reflect the ``buffers=`` parameter, and ``dbs()`` is included.

- Declare ``python_requires='>=3.9'`` so pip skips this package on
    Python 2.

Documentation

- Modernize documentation for Python 3 and current project state.

- Add API reference for ``lmdb.aio`` module.

- Document fork safety and multiprocessing guidance.

- Document duplicate-sort (dupsort) databases.

- Document cursor iteration and navigation patterns.

- Add "When to use py-lmdb" comparison section.

- Render ChangeLog as native HTML instead of a code block.

Other

- Add LMDB data layout validation tests and patched/pure equivalence
    checks.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/py-lmdb/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-lmdb/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/py-lmdb/distinfo

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

Modified files:

Index: pkgsrc/databases/py-lmdb/Makefile
diff -u pkgsrc/databases/py-lmdb/Makefile:1.11 pkgsrc/databases/py-lmdb/Makefile:1.12
--- pkgsrc/databases/py-lmdb/Makefile:1.11      Tue Dec  9 12:03:38 2025
+++ pkgsrc/databases/py-lmdb/Makefile   Fri May 29 12:36:36 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2025/12/09 12:03:38 adam Exp $
+# $NetBSD: Makefile,v 1.12 2026/05/29 12:36:36 adam Exp $
 
-DISTNAME=      lmdb-1.7.5
+DISTNAME=      lmdb-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lmdb/}

Index: pkgsrc/databases/py-lmdb/PLIST
diff -u pkgsrc/databases/py-lmdb/PLIST:1.4 pkgsrc/databases/py-lmdb/PLIST:1.5
--- pkgsrc/databases/py-lmdb/PLIST:1.4  Mon Apr 14 11:31:11 2025
+++ pkgsrc/databases/py-lmdb/PLIST      Fri May 29 12:36:36 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/14 11:31:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/05/29 12:36:36 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -6,6 +6,7 @@ ${PYSITELIB}/${WHEEL_INFODIR}/licenses/L
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/lmdb/__init__.py
 ${PYSITELIB}/lmdb/__init__.pyc
+${PYSITELIB}/lmdb/__init__.pyi
 ${PYSITELIB}/lmdb/__init__.pyo
 ${PYSITELIB}/lmdb/__main__.py
 ${PYSITELIB}/lmdb/__main__.pyc
@@ -13,10 +14,14 @@ ${PYSITELIB}/lmdb/__main__.pyo
 ${PYSITELIB}/lmdb/_config.py
 ${PYSITELIB}/lmdb/_config.pyc
 ${PYSITELIB}/lmdb/_config.pyo
+${PYSITELIB}/lmdb/aio.py
+${PYSITELIB}/lmdb/aio.pyc
+${PYSITELIB}/lmdb/aio.pyo
 ${PYSITELIB}/lmdb/cffi.py
 ${PYSITELIB}/lmdb/cffi.pyc
 ${PYSITELIB}/lmdb/cffi.pyo
 ${PYSITELIB}/lmdb/cpython.so
+${PYSITELIB}/lmdb/py.typed
 ${PYSITELIB}/lmdb/tool.py
 ${PYSITELIB}/lmdb/tool.pyc
 ${PYSITELIB}/lmdb/tool.pyo

Index: pkgsrc/databases/py-lmdb/distinfo
diff -u pkgsrc/databases/py-lmdb/distinfo:1.9 pkgsrc/databases/py-lmdb/distinfo:1.10
--- pkgsrc/databases/py-lmdb/distinfo:1.9       Tue Dec  9 12:03:38 2025
+++ pkgsrc/databases/py-lmdb/distinfo   Fri May 29 12:36:36 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2025/12/09 12:03:38 adam Exp $
+$NetBSD: distinfo,v 1.10 2026/05/29 12:36:36 adam Exp $
 
-BLAKE2s (lmdb-1.7.5.tar.gz) = e5bfb3adeb3b111e8a9cb5809a7ba63996679ebd538eecda8185861402b5daac
-SHA512 (lmdb-1.7.5.tar.gz) = 2813f556a9499bb7555f0119ddaf139d033c5f58f427a983d61cb3d3b1a8f2978cfcc9e8424e81af5476aac00e1e498ff33aabdcaecd5a6d1dafebd604c56bc3
-Size (lmdb-1.7.5.tar.gz) = 883490 bytes
+BLAKE2s (lmdb-2.2.0.tar.gz) = 496e1e149bc58c9155442951d250df7db1713f95292a90614923d2053b7cdea8
+SHA512 (lmdb-2.2.0.tar.gz) = 7f0767e938ed9dd447e1e7a84385e51bb680f993f10b0a7b7f6fe2c811ec5f97ada9cad688127bd0cff68279b527c49ac13730d12a692ba89a476afa5852aac5
+Size (lmdb-2.2.0.tar.gz) = 933189 bytes



Home | Main Index | Thread Index | Old Index