Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 10:01:15 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515593 - head/databases/py-lmdb
Message-ID:  <201910251001.x9PA1F3j026824@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Fri Oct 25 10:01:15 2019
New Revision: 515593
URL: https://svnweb.freebsd.org/changeset/ports/515593

Log:
  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@stereochro.me> (maintainer)
  MFH:		2019Q4

Modified:
  head/databases/py-lmdb/Makefile
  head/databases/py-lmdb/distinfo
  head/databases/py-lmdb/pkg-descr

Modified: head/databases/py-lmdb/Makefile
==============================================================================
--- head/databases/py-lmdb/Makefile	Fri Oct 25 09:55:05 2019	(r515592)
+++ head/databases/py-lmdb/Makefile	Fri Oct 25 10:01:15 2019	(r515593)
@@ -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: head/databases/py-lmdb/distinfo
==============================================================================
--- head/databases/py-lmdb/distinfo	Fri Oct 25 09:55:05 2019	(r515592)
+++ head/databases/py-lmdb/distinfo	Fri Oct 25 10:01:15 2019	(r515593)
@@ -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: head/databases/py-lmdb/pkg-descr
==============================================================================
--- head/databases/py-lmdb/pkg-descr	Fri Oct 25 09:55:05 2019	(r515592)
+++ head/databases/py-lmdb/pkg-descr	Fri Oct 25 10:01:15 2019	(r515593)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910251001.x9PA1F3j026824>