diff options
author | vanilla <vanilla@FreeBSD.org> | 2017-09-11 22:30:17 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2017-09-11 22:30:17 +0800 |
commit | 187b59d7e81d76f7ba5af39809c59a5e45d78860 (patch) | |
tree | aba8e0278b6ce0cfc486979e099782735283c515 | |
parent | 57d391900f0e8d35571ad52a2079bdb846a1e4b3 (diff) | |
download | freebsd-ports-gnome-187b59d7e81d76f7ba5af39809c59a5e45d78860.tar.gz freebsd-ports-gnome-187b59d7e81d76f7ba5af39809c59a5e45d78860.tar.zst freebsd-ports-gnome-187b59d7e81d76f7ba5af39809c59a5e45d78860.zip |
Add py-lmdb 0.93, python bindings for LMDB.
PR: 222188
Submitted by: Keith Gaughan <k@sterechro.me>
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-lmdb/Makefile | 30 | ||||
-rw-r--r-- | databases/py-lmdb/distinfo | 3 | ||||
-rw-r--r-- | databases/py-lmdb/pkg-descr | 4 |
4 files changed, 38 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 53dbf3a81cf4..d892ea0cfeaf 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -778,6 +778,7 @@ SUBDIR += py-htsql-pgsql SUBDIR += py-kyotocabinet SUBDIR += py-leveldb + SUBDIR += py-lmdb SUBDIR += py-motor SUBDIR += py-mycli SUBDIR += py-mysql-connector-python diff --git a/databases/py-lmdb/Makefile b/databases/py-lmdb/Makefile new file mode 100644 index 000000000000..98a040237e6b --- /dev/null +++ b/databases/py-lmdb/Makefile @@ -0,0 +1,30 @@ +# Created by: Keith Gaughan <k@sterechro.me> +# $FreeBSD$ + +PORTNAME= lmdb +PORTVERSION= 0.93 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= k@stereochro.me +COMMENT= Python bindings for LMDB + +LICENSE= OPENLDAP +LICENSE_NAME= OpenLDAP Public LIcense +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0.8:devel/py-cffi +LIB_DEPENDS= liblmdb.so:databases/lmdb + +USES= localbase python +USE_PYTHON= autoplist distutils + +MAKE_ENV= LMDB_FORCE_SYSTEM=1 \ + LMDB_FORCE_CFFI=1 + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lmdb/lmdb_cffi.so + +.include <bsd.port.mk> diff --git a/databases/py-lmdb/distinfo b/databases/py-lmdb/distinfo new file mode 100644 index 000000000000..0c9f8c8323ed --- /dev/null +++ b/databases/py-lmdb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1505036252 +SHA256 (lmdb-0.93.tar.gz) = 146b085b698bf480b35da4eac3a0bd8e331e002a9bafa69842867a879258b775 +SIZE (lmdb-0.93.tar.gz) = 870651 diff --git a/databases/py-lmdb/pkg-descr b/databases/py-lmdb/pkg-descr new file mode 100644 index 000000000000..cd8c33df5034 --- /dev/null +++ b/databases/py-lmdb/pkg-descr @@ -0,0 +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/ |