Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 14:30:17 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449648 - in head/databases: . py-lmdb
Message-ID:  <201709111430.v8BEUHcF067593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Sep 11 14:30:17 2017
New Revision: 449648
URL: https://svnweb.freebsd.org/changeset/ports/449648

Log:
  Add py-lmdb 0.93, python bindings for LMDB.
  
  PR:		222188
  Submitted by:	Keith Gaughan <k@sterechro.me>

Added:
  head/databases/py-lmdb/
  head/databases/py-lmdb/Makefile   (contents, props changed)
  head/databases/py-lmdb/distinfo   (contents, props changed)
  head/databases/py-lmdb/pkg-descr   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Mon Sep 11 14:13:47 2017	(r449647)
+++ head/databases/Makefile	Mon Sep 11 14:30:17 2017	(r449648)
@@ -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

Added: head/databases/py-lmdb/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-lmdb/Makefile	Mon Sep 11 14:30:17 2017	(r449648)
@@ -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>

Added: head/databases/py-lmdb/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-lmdb/distinfo	Mon Sep 11 14:30:17 2017	(r449648)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1505036252
+SHA256 (lmdb-0.93.tar.gz) = 146b085b698bf480b35da4eac3a0bd8e331e002a9bafa69842867a879258b775
+SIZE (lmdb-0.93.tar.gz) = 870651

Added: head/databases/py-lmdb/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-lmdb/pkg-descr	Mon Sep 11 14:30:17 2017	(r449648)
@@ -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/



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