svn commit: r515682 - branches/2019Q4/databases/py-lmdb
Kai Knoblich
kai at FreeBSD.org
Sat Oct 26 12:02:48 UTC 2019
Author: kai
Date: Sat Oct 26 12:02:47 2019
New Revision: 515682
URL: https://svnweb.freebsd.org/changeset/ports/515682
Log:
MFH: r515593
databases/py-lmdb: Update to 0.97
* Update WWW field as upstream has a new maintainer.
* While I'm here: Add "do-test" target to make future QA easier.
Notable changes since 0.93:
* Only preload the value with the GIL (= Global Interpreter Lock) unlocked
when the value is actually requested. This significantly improves read
performance to retrieve keys with large values when the value isn't
retrieved.
* Handling of the Environment(create=True) flag was improved.
* Database names may be reused after they are dropped on CFFI, without
reopening the environment.
* Python argument parsing now matches the behaviour of CFFI, and most sane
Python APIs: a bool parameter is considered to be true if it is any truthy
value, not just if it is exactly True.
* Updated LMDB to version 0.9.22.
* Fixed several 2.7/3 bugs in command line tool.
https://github.com/jnwatson/py-lmdb/blob/py-lmdb_0.97/ChangeLog
PR: 241367
Submitted by: Keith Gaughan <k at stereochro.me> (maintainer)
Approved by: ports-secteam (joneum)
Modified:
branches/2019Q4/databases/py-lmdb/Makefile
branches/2019Q4/databases/py-lmdb/distinfo
branches/2019Q4/databases/py-lmdb/pkg-descr
Directory Properties:
branches/2019Q4/ (props changed)
Modified: branches/2019Q4/databases/py-lmdb/Makefile
==============================================================================
--- branches/2019Q4/databases/py-lmdb/Makefile Sat Oct 26 12:01:37 2019 (r515681)
+++ branches/2019Q4/databases/py-lmdb/Makefile Sat Oct 26 12:02:47 2019 (r515682)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lmdb
-PORTVERSION= 0.93
+PORTVERSION= 0.97
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,6 +17,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-se
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0.8:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= liblmdb.so:databases/lmdb
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= localbase python
USE_PYTHON= autoplist distutils
@@ -26,5 +27,8 @@ MAKE_ENV= LMDB_FORCE_SYSTEM=1 \
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lmdb/lmdb_cffi.so
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>
Modified: branches/2019Q4/databases/py-lmdb/distinfo
==============================================================================
--- branches/2019Q4/databases/py-lmdb/distinfo Sat Oct 26 12:01:37 2019 (r515681)
+++ branches/2019Q4/databases/py-lmdb/distinfo Sat Oct 26 12:02:47 2019 (r515682)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505036252
-SHA256 (lmdb-0.93.tar.gz) = 146b085b698bf480b35da4eac3a0bd8e331e002a9bafa69842867a879258b775
-SIZE (lmdb-0.93.tar.gz) = 870651
+TIMESTAMP = 1571545606
+SHA256 (lmdb-0.97.tar.gz) = 173d71ade5fd402c7e9ecb0a1d6022c92a7f89c313132ef4e5e561d349b0834b
+SIZE (lmdb-0.97.tar.gz) = 869560
Modified: branches/2019Q4/databases/py-lmdb/pkg-descr
==============================================================================
--- branches/2019Q4/databases/py-lmdb/pkg-descr Sat Oct 26 12:01:37 2019 (r515681)
+++ branches/2019Q4/databases/py-lmdb/pkg-descr Sat Oct 26 12:02:47 2019 (r515682)
@@ -1,4 +1,4 @@
This is a port of py-lmdb, which provides bindings for OpenLDAP's Lightning
Memory-mapped Database (LMDB).
-WWW: https://github.com/dw/py-lmdb/
+WWW: https://github.com/jnwatson/py-lmdb
More information about the svn-ports-all
mailing list