mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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
This commit is contained in:
parent
e8bb24321d
commit
d7af142cec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515593
@ -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-sell auto-accept
|
||||
|
||||
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
|
||||
@ -27,4 +28,7 @@ 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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user